Skip to content

Commit 0200d53

Browse files
authored
[docs] import Routes + Route in the overview.md (#8267)
Missing imports in the overview example.
1 parent 9c58eec commit 0200d53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/getting-started/overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ npm install react-router-dom@6
2121

2222
```jsx
2323
import { render } from "react-dom";
24-
import { BrowserRouter } from "react-router-dom";
24+
import { BrowserRouter, Routes, Route } from "react-router-dom";
2525
// import your route components too
2626

2727
render(

0 commit comments

Comments
 (0)