diff options
| author | Yash <[email protected]> | 2024-04-04 08:34:48 +0000 |
|---|---|---|
| committer | Yash <[email protected]> | 2024-04-04 08:34:48 +0000 |
| commit | c22751ee68d9fdd4e5bc5147922de32a20abf484 (patch) | |
| tree | ff5f4051cb8cd973a18a5431a0300ed8edbe63fb /apps/web/src/components/Main.tsx | |
| parent | fix content paths (diff) | |
| download | supermemory-c22751ee68d9fdd4e5bc5147922de32a20abf484.tar.xz supermemory-c22751ee68d9fdd4e5bc5147922de32a20abf484.zip | |
add custom Bin component
Diffstat (limited to 'apps/web/src/components/Main.tsx')
| -rw-r--r-- | apps/web/src/components/Main.tsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/web/src/components/Main.tsx b/apps/web/src/components/Main.tsx index ef505db5..8796c52e 100644 --- a/apps/web/src/components/Main.tsx +++ b/apps/web/src/components/Main.tsx @@ -13,6 +13,8 @@ export default function Main({ sidebarOpen }: { sidebarOpen: boolean }) { const textArea = useRef<HTMLTextAreaElement>(null); + console.log("main px", sidebarOpen); + useEffect(() => { function onResize() { if (!textArea.current || !window.visualViewport) return; |