From 279e8c7ea4f7e48ee68844e4347a67e5875faaa2 Mon Sep 17 00:00:00 2001
From: sowgro <tpoke.ferrari@gmail.com>
Date: Sat, 18 Jan 2025 15:16:12 -0500
Subject: Icon picker working (barely, refresh after)

---
 extension/src/components/FolderBody.tsx | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'extension/src/components/FolderBody.tsx')

diff --git a/extension/src/components/FolderBody.tsx b/extension/src/components/FolderBody.tsx
index 71dad4a..9b7c5f4 100644
--- a/extension/src/components/FolderBody.tsx
+++ b/extension/src/components/FolderBody.tsx
@@ -37,6 +37,8 @@ function FolderBody (props: {id: string}) {
         updateBookmarks();
     }, [settings]);
 
+    if (children.length <= 0) return;
+
     return (
         <div className={"folderBody"}>
             {children.map(child =>
-- 
cgit v1.2.3

