From ba34e51803d0ead8981be74a7cfea4011be5d945 Mon Sep 17 00:00:00 2001 From: Gigi Date: Sun, 5 Oct 2025 22:24:32 +0100 Subject: [PATCH] fix(bookmarks): ensure both panels start collapsed on initial load regardless of saved settings --- src/components/Bookmarks.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Bookmarks.tsx b/src/components/Bookmarks.tsx index a8b8d814..6ae8f5ab 100644 --- a/src/components/Bookmarks.tsx +++ b/src/components/Bookmarks.tsx @@ -97,8 +97,8 @@ const Bookmarks: React.FC = ({ relayPool, onLogout }) => { useEffect(() => { if (settings.defaultViewMode) setViewMode(settings.defaultViewMode) if (settings.showUnderlines !== undefined) setShowUnderlines(settings.showUnderlines) - if (settings.sidebarCollapsed !== undefined) setIsCollapsed(settings.sidebarCollapsed) - if (settings.highlightsCollapsed !== undefined) setIsHighlightsCollapsed(settings.highlightsCollapsed) + // Always start with both panels collapsed on initial load + // Don't apply saved collapse settings on initial load - let user control them }, [settings]) const handleFetchBookmarks = async () => {