From afc18a4caf7df3c25dbdd3c8b2fad0a9813027c0 Mon Sep 17 00:00:00 2001
From: sowgro <tpoke.ferrari@gmail.com>
Date: Sun, 3 Nov 2024 14:53:42 -0500
Subject: Working root folder drop down

---
 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 7d56265..df1c325 100644
--- a/extension/src/Body.tsx
+++ b/extension/src/Body.tsx
@@ -12,7 +12,7 @@ function Body(props: {tree: BookmarkTreeNode[]}) {
             <button id="settings-button" onClick={_ => setSettingsOpen(!settingsOpen)}>
                 <img alt="open settings" src={imageUrl}/>
             </button>
-            {settingsOpen && (<SettingsEditor closer={setSettingsOpen}/>)}
+            {settingsOpen && (<SettingsEditor tree={props.tree} closer={setSettingsOpen}/>)}
             <Folder data={
                 (props.tree && props.tree[0] && props.tree[0].children && props.tree[0].children[0])!
             }/>
-- 
cgit v1.2.3

