diff options
| author | Dhravya <[email protected]> | 2024-06-22 18:23:05 -0500 |
|---|---|---|
| committer | Dhravya <[email protected]> | 2024-06-22 18:23:05 -0500 |
| commit | 445acf7c47b061107fdf1ce7bad5558ea2a909b3 (patch) | |
| tree | 0a738b7a816f7b61865558be567c88d86db238c3 /apps/web/app/(dash)/dynamicisland.tsx | |
| parent | deleted chatpage (diff) | |
| download | supermemory-chathistory.tar.xz supermemory-chathistory.zip | |
cleanupchathistory
Diffstat (limited to 'apps/web/app/(dash)/dynamicisland.tsx')
| -rw-r--r-- | apps/web/app/(dash)/dynamicisland.tsx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/apps/web/app/(dash)/dynamicisland.tsx b/apps/web/app/(dash)/dynamicisland.tsx index 6d3965ca..43db52f3 100644 --- a/apps/web/app/(dash)/dynamicisland.tsx +++ b/apps/web/app/(dash)/dynamicisland.tsx @@ -71,16 +71,13 @@ function DynamicIslandContent() { } const lastBtn = useRef<string>(); - useEffect(() => { - console.log(show); - }, [show]); useEffect(() => { document.addEventListener("keydown", (e) => { if (e.key === "Escape") { setshow(true); } - console.log(e.key, lastBtn.current); + if (e.key === "a" && lastBtn.current === "Alt") { setshow(false); } @@ -268,7 +265,6 @@ function PageForm({ spaces: space ? [space] : undefined, }); - console.log(cont); setLoading(false); if (cont.success) { toast.success("Memory created"); |