Skip to content

Commit

Permalink
[docs] import Routes + Route in the overview.md (#8267)
Browse files Browse the repository at this point in the history
Missing imports in the overview example.
  • Loading branch information
ngokevin committed Nov 7, 2021
1 parent 9c58eec commit 0200d53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/getting-started/overview.md
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

0 comments on commit 0200d53

Please sign in to comment.