Skip to content

Commit 00e52ce

Browse files
committed
chore: update README.md
1 parent 0a5d812 commit 00e52ce

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

README.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,7 @@ yarn add use-undo
1919

2020
## Usage
2121

22-
<a href="https://codesandbox.io/s/5v9yoz7xn4" target="_blank">
23-
<img alt="Edit 5v9yoz7xn4" src="https://codesandbox.io/static/img/play-codesandbox.svg">
24-
</a>
22+
[![Edit use-undo-demo](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/use-undo-demo-hifeo?fontsize=14&hidenavigation=1&theme=dark&view=editor)
2523

2624
```js
2725
import React from 'react';
@@ -63,9 +61,6 @@ const App = () => {
6361
</div>
6462
);
6563
};
66-
67-
const rootElement = document.getElementById('root');
68-
ReactDOM.render(<App />, rootElement);
6964
```
7065

7166
## API

0 commit comments

Comments
 (0)