Skip to content

Commit

Permalink
Clarified one tag in installation.md (#8402)
Browse files Browse the repository at this point in the history
  • Loading branch information
b3s23love committed Nov 29, 2021
1 parent 91a52f8 commit 18a10f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions contributors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
- paulsmithkc
- noisypigeon
- elylucas
- JakubDrozd
2 changes: 1 addition & 1 deletion docs/getting-started/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ $ pnpm add react-router-dom@6

Follow the instructions in the [React documentation to set up a new project with Create React App](https://reactjs.org/docs/create-a-new-react-app.html#create-react-app), then follow [the installation instructions above](#basic-installation) to install React Router in your project.

Once your project is set up and React Router is installed as a dependency, open the `src/index.js` in your text editor. Import `BrowserRouter` from `react-router-dom` near the top of your file and wrap your app in a `<Router>`:
Once your project is set up and React Router is installed as a dependency, open the `src/index.js` in your text editor. Import `BrowserRouter` from `react-router-dom` near the top of your file and wrap your app in a `<BrowserRouter>`:

```js [3, 9-11]
import * as React from "react";
Expand Down

0 comments on commit 18a10f3

Please sign in to comment.