Commit 410550e
fix: render SortableProjectItem as <li> to produce valid HTML inside <ul>
SortableProjectItem previously rendered a <div> wrapper between
SidebarMenu (<ul>) and SidebarMenuItem (<li>), creating invalid HTML:
<ul><div><li>…</li></div></ul>.
Change SortableProjectItem to render a SidebarMenuItem (<li>) directly,
removing the redundant inner SidebarMenuItem wrapper at the call site.
Co-authored-by: Julius Marminge <juliusmarminge@users.noreply.github.com>1 parent deda3c2 commit 410550e
1 file changed
+8
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
273 | 273 | | |
274 | 274 | | |
275 | 275 | | |
| 276 | + | |
276 | 277 | | |
277 | 278 | | |
278 | 279 | | |
| 280 | + | |
279 | 281 | | |
280 | 282 | | |
281 | 283 | | |
282 | 284 | | |
283 | 285 | | |
284 | | - | |
| 286 | + | |
285 | 287 | | |
286 | 288 | | |
287 | 289 | | |
288 | 290 | | |
289 | 291 | | |
290 | 292 | | |
291 | 293 | | |
292 | | - | |
| 294 | + | |
293 | 295 | | |
294 | 296 | | |
295 | | - | |
| 297 | + | |
296 | 298 | | |
297 | 299 | | |
298 | 300 | | |
| |||
1205 | 1207 | | |
1206 | 1208 | | |
1207 | 1209 | | |
1208 | | - | |
| 1210 | + | |
1209 | 1211 | | |
1210 | | - | |
| 1212 | + | |
1211 | 1213 | | |
1212 | 1214 | | |
1213 | 1215 | | |
| |||
1448 | 1450 | | |
1449 | 1451 | | |
1450 | 1452 | | |
1451 | | - | |
| 1453 | + | |
1452 | 1454 | | |
1453 | 1455 | | |
1454 | 1456 | | |
| |||
0 commit comments