From 4f103e6e2210e313438b6f0f46e9549db5ccad1a Mon Sep 17 00:00:00 2001
From: sowgro <tpoke.ferrari@gmail.com>
Date: Wed, 6 Nov 2024 19:55:06 -0500
Subject: Improve settings menu animation

---
 extension/src/Body.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'extension/src/Body.tsx')

diff --git a/extension/src/Body.tsx b/extension/src/Body.tsx
index f878ef4..2a46a67 100644
--- a/extension/src/Body.tsx
+++ b/extension/src/Body.tsx
@@ -47,7 +47,7 @@ function Body() {
             <button id="settings-button" onClick={_ => setSettingsOpen(!settingsOpen)}>
                 <img alt="open settings" src={imageUrl}/>
             </button>
-            {settingsOpen && (<SettingsEditor tree={ogBookmarkTree!} closer={setSettingsOpen}/>)}
+            <SettingsEditor tree={ogBookmarkTree!} isOpen={[settingsOpen, setSettingsOpen]}/>
             {bookmarkTree[0] && (<FolderBody data={bookmarkTree[0]}/>)}
         </Settings.Provider>
     )
-- 
cgit v1.2.3

