Skip to content

Commit 2a5e9d8

Browse files
committed
remove some cruft
1 parent 07da265 commit 2a5e9d8

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/layouts/AdminLayout/Sidebar.tsx

+1-6
Original file line numberDiff line numberDiff line change
@@ -138,12 +138,9 @@ const Sidebar = ({
138138
</div>
139139
</div>
140140
</Transition.Child>
141-
<div aria-hidden="true" className="flex-shrink-0 w-14">
142-
{/* Dummy element to force sidebar to shrink to fit close icon */}
143-
</div>
141+
<div aria-hidden="true" className="flex-shrink-0 w-14" />
144142
</Dialog>
145143
</Transition.Root>
146-
{/* Static sidebar for desktop */}
147144
<div className="hidden lg:flex lg:flex-shrink-0">
148145
<div className="flex flex-col w-64 pt-5 pb-4 bg-gray-100 border-r border-gray-200">
149146
<div className="flex items-center flex-shrink-0 px-6">
@@ -156,7 +153,6 @@ const Sidebar = ({
156153
/>
157154
</div>
158155
<div className="flex flex-col flex-1 h-0 overflow-y-auto">
159-
{/* Navigation */}
160156
<nav className="flex-1 px-3 mt-6 divide-y">
161157
<div className="space-y-1">
162158
{navigation.filter(filterRoutes).map((item) => (
@@ -200,7 +196,6 @@ const Sidebar = ({
200196
)}
201197
</span>
202198
</div>
203-
{/* User Navigation */}
204199
<div className="px-3 mt-2">
205200
{userNavigation.map((item) => (
206201
<ActiveLink key={item.path} href={item.path} nested>

0 commit comments

Comments
 (0)