clean up formatting

Signed-off-by: Paul Schultz <pschultz@pobox.com>
This commit is contained in:
Paul Schultz
2023-03-08 10:13:38 -06:00
parent 34fe6c9246
commit 040b54f7e5
26 changed files with 449 additions and 417 deletions
+3 -3
View File
@@ -58,7 +58,7 @@ const routes = (
<Navigate key="/" to="catalog" />
{/* ... */}
</FlatRoutes>
)
);
```
Let's replace the `<Navigate>` line and use the new component we created in the previous step as the new homepage.
@@ -80,7 +80,7 @@ const routes = (
{/* highlight-add-end */}
{/* ... */}
</FlatRoutes>
)
);
```
#### 4. Update sidebar items
@@ -122,7 +122,7 @@ export const Root = ({ children }: PropsWithChildren<{}>) => (
</SidebarGroup>
</Sidebar>
</SidebarPage>
)
);
```
That's it! You should now have _(although slightly boring)_ a homepage!