Skip to content

Commit 4b61484

Browse files
vkhvtimdorr
authored andcommitted
Update README.md (#6127)
1 parent 90f9bfd commit 4b61484

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/react-router-dom/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ Then with a module bundler like [webpack](https://webpack.github.io/), use as yo
1515
import { BrowserRouter, Route, Link } from 'react-router-dom'
1616

1717
// using CommonJS modules
18-
var BrowserRouter = require('react-router-dom').BrowserRouter
19-
var Route = require('react-router-dom').Route
20-
var Link = require('react-router-dom').Link
18+
const BrowserRouter = require('react-router-dom').BrowserRouter
19+
const Route = require('react-router-dom').Route
20+
const Link = require('react-router-dom').Link
2121
```
2222

2323
The UMD build is also available on [unpkg](https://unpkg.com):

0 commit comments

Comments
 (0)