Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
MuuKojima committed Aug 16, 2020
1 parent dc79772 commit ce8b659
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ $ npm install --save simple-scroll-restorer

### Initialize library

app.js
Your `app.js` somthing like this
```
import ScrollRestoreManager from 'simple-scroll-restorer';
Expand All @@ -30,7 +30,7 @@ unmount() {

### Restore scroll position

router.js
Your `router.js` somthing like this
```
import ScrollRestoreManager from 'simple-scroll-restorer';
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "simple-scroll-restorer",
"description": "simple scroll restore for keeping scroll position",
"version": "0.0.4",
"version": "0.0.5",
"author": "muukojima",
"license": "MIT",
"main": "./lib/index.js",
Expand Down

0 comments on commit ce8b659

Please sign in to comment.