From 01b3c8be6a3cd143a044c826d7f79ed2128cdd3b Mon Sep 17 00:00:00 2001
From: sowgro <tpoke.ferrari@gmail.com>
Date: Sun, 3 Nov 2024 00:19:58 -0400
Subject: Start making settings work

---
 extension/src/main.tsx | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

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

diff --git a/extension/src/main.tsx b/extension/src/main.tsx
index d988d72..e545526 100644
--- a/extension/src/main.tsx
+++ b/extension/src/main.tsx
@@ -1,6 +1,7 @@
 import { createRoot } from 'react-dom/client'
 import './index.css'
 import Folder from "./Folder.tsx";
+import SettingsEditor from "./SettingsEditor.tsx";
 
 // @ts-ignore
 if (typeof browser === "undefined") {
@@ -8,9 +9,15 @@ if (typeof browser === "undefined") {
 }
 
 browser.bookmarks.getTree().then(tree => {
-    createRoot(document.getElementById('root')!).render(
-        // @ts-ignore
-        <Folder data={tree[0].children[0]} />
+    createRoot(document.body).render(
+        <>
+            <div id="settings-menu">
+                <SettingsEditor/>
+            </div>
+            <Folder data={     // @ts-ignore
+                tree[0].children[0]
+            }/>
+        </>
     )
 });
 
-- 
cgit v1.2.3

