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
@@ -181,10 +181,14 @@ It's crucial that you update to `RequirePermission` at the same time as you upda
When migrating over to React Router v6 stable, you might also see browser console warnings for the `Navigate` component. This will need to be wrapped up in a `Route` component with the `Navigate` component in the `element` prop.
```tsx
{/* highlight-remove-next-line */}
<Navigate key="/" to="catalog" />
{/* highlight-add-next-line */}
<Route path="/" element={<Navigate to="catalog" />} />
{
/* highlight-remove-next-line */
}
<Navigate key="/" to="catalog" />;
{
/* highlight-add-next-line */
}
<Route path="/" element={<Navigate to="catalog" />} />;
```
### `NavLink`