Skip to content

Commit

Permalink
Docs: Update part-6-performance-normalization.md (#4750)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoles authored Nov 2, 2024
1 parent 2526cfc commit b10703e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/tutorials/essentials/part-6-performance-normalization.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,11 +137,11 @@ As we've seen before, we can take data from one `useSelector` call, or from prop
As usual, we will add routes for these components in `<App>`:

```tsx title="App.tsx"
<Route path="/posts/:postId" component={SinglePostPage} />
<Route path="/editPost/:postId" component={EditPostForm} />
<Route path="/posts/:postId" element={<SinglePostPage />} />
<Route path="/editPost/:postId" element={<EditPostForm />} />
// highlight-start
<Route path="/users" component={UsersList} />
<Route path="/users/:userId" component={UserPage} />
<Route path="/users" element={<UsersList />} />
<Route path="/users/:userId" element={<UserPage />} />
// highlight-end
<Redirect to="/" />
```
Expand Down

0 comments on commit b10703e

Please sign in to comment.