From 39c37d3a7993cf1b726ee8ab80ac286f453c90b2 Mon Sep 17 00:00:00 2001
From: sowgro <tpoke.ferrari@gmail.com>
Date: Sun, 3 Nov 2024 14:23:06 -0500
Subject: Settings sidebar works now

---
 extension/src/main.tsx | 14 ++------------
 1 file changed, 2 insertions(+), 12 deletions(-)

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

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

