Skip to content

Commit 008255c

Browse files
fix sidebar.tsx duplicated blocks
1 parent 1b5d909 commit 008255c

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

imagelab-frontend/src/components/Sidebar/Sidebar.tsx

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -97,18 +97,6 @@ export default function Sidebar({
9797
/>
9898
))}
9999
</div>
100-
<div className="flex-1 overflow-y-auto min-w-[200px]">
101-
{categories.map((category) => (
102-
<CategorySection
103-
key={category.name}
104-
category={category}
105-
workspace={workspace}
106-
previews={previews}
107-
disabledTypes={presentSingletons}
108-
defaultOpen={category.name === "Basic"}
109-
/>
110-
))}
111-
</div>
112100
</div>
113101
);
114102
}

0 commit comments

Comments
 (0)