mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 14:38:45 +00:00
working version of creating a tweet
This commit is contained in:
1 parent
64973a5cc9
commit
e5303436ff
9 files changed
+145
-15
No files matched your search
@@ -38,7 +38,8 @@ export const TwitterApp = () => {
|
||||
const listener = window.addEventListener(
|
||||
"keydown",
|
||||
(e) => {
|
||||
if (e.key == "Escape" || e.key == "Esc") {
|
||||
const isEscapeKey = e.key == "Escape" || e.key == "Esc";
|
||||
if (isEscapeKey) {
|
||||
e.preventDefault();
|
||||
hideModal();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user