Skip to content

Commit

Permalink
Update faq.md (#8596)
Browse files Browse the repository at this point in the history
* Update faq.md

Example `Route` component from a v6 example was still using a `component` prop and component reference vs `element` prop and JSX.

* Update contributors.yml
  • Loading branch information
awreese committed Jan 20, 2022
1 parent e3f1a29 commit 1d2c24e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions contributors.yml
@@ -1,4 +1,5 @@
- Ajayff4
- awreese
- brockross
- chaance
- chasinhues
Expand Down
2 changes: 1 addition & 1 deletion docs/faq.md
Expand Up @@ -335,7 +335,7 @@ function App() {
return (
<Routes>
<Route path="/users/:id" element={<ValidateUser />} />
<Route path="/users/*" component={NotFound} />
<Route path="/users/*" element={<NotFound />} />
</Routes>
);
}
Expand Down

0 comments on commit 1d2c24e

Please sign in to comment.