From da39fa8b18055cdd8ca2094da6fab9946de33de4 Mon Sep 17 00:00:00 2001
From: sowgro <tpoke.ferrari@gmail.com>
Date: Tue, 5 Nov 2024 20:48:13 -0500
Subject: New Folder design

---
 extension/src/Folder.tsx | 34 ----------------------------------
 1 file changed, 34 deletions(-)
 delete mode 100644 extension/src/Folder.tsx

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

diff --git a/extension/src/Folder.tsx b/extension/src/Folder.tsx
deleted file mode 100644
index 06e8b30..0000000
--- a/extension/src/Folder.tsx
+++ /dev/null
@@ -1,34 +0,0 @@
-import BookmarkTreeNode = browser.bookmarks.BookmarkTreeNode;
-import Bookmark from "./Bookmark.tsx";
-
-function Folder (props: {data: BookmarkTreeNode}) {
-    return (
-        <details open className="folder">
-            <summary>{props.data.title}</summary>
-            <div>
-                {
-                    props.data.children &&
-                    props.data.children.map(child =>
-                        child.children
-                            ? <Folder data={child} />
-                            : <Bookmark data={child} />
-                    )
-                }
-            </div>
-        </details>
-    )
-}
-
-// if (props.data.children) {
-//     let l = [];
-//     for (let child of props.data.children) {
-//         if (child.children) {
-//             l.push(<Folder data={child} />)
-//         } else {
-//             l.push(<Bookmark data={child} />)
-//         }
-//     }
-//     return l
-// }
-
-export default Folder;
\ No newline at end of file
-- 
cgit v1.2.3

