File tree 1 file changed +1
-6
lines changed
1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -138,12 +138,9 @@ const Sidebar = ({
138
138
</ div >
139
139
</ div >
140
140
</ 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" />
144
142
</ Dialog >
145
143
</ Transition . Root >
146
- { /* Static sidebar for desktop */ }
147
144
< div className = "hidden lg:flex lg:flex-shrink-0" >
148
145
< div className = "flex flex-col w-64 pt-5 pb-4 bg-gray-100 border-r border-gray-200" >
149
146
< div className = "flex items-center flex-shrink-0 px-6" >
@@ -156,7 +153,6 @@ const Sidebar = ({
156
153
/>
157
154
</ div >
158
155
< div className = "flex flex-col flex-1 h-0 overflow-y-auto" >
159
- { /* Navigation */ }
160
156
< nav className = "flex-1 px-3 mt-6 divide-y" >
161
157
< div className = "space-y-1" >
162
158
{ navigation . filter ( filterRoutes ) . map ( ( item ) => (
@@ -200,7 +196,6 @@ const Sidebar = ({
200
196
) }
201
197
</ span >
202
198
</ div >
203
- { /* User Navigation */ }
204
199
< div className = "px-3 mt-2" >
205
200
{ userNavigation . map ( ( item ) => (
206
201
< ActiveLink key = { item . path } href = { item . path } nested >
You can’t perform that action at this time.
0 commit comments