Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docs] import Routes + Route in the overview.md #8267

Merged
merged 1 commit into from
Nov 7, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
[docs] import Routes + Route in the overview.md
Missing imports in the overview example.
  • Loading branch information
ngokevin authored Nov 7, 2021
commit 850b2c4ce76e182066b68a39373635dd120ae36d
2 changes: 1 addition & 1 deletion docs/getting-started/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ npm install react-router-dom@6

```jsx
import { render } from "react-dom";
import { BrowserRouter } from "react-router-dom";
import { BrowserRouter, Routes, Route } from "react-router-dom";
// import your route components too

render(
Expand Down