Skip to content

Commit

Permalink
✏️ Fix typo in the readme regarding opting out of hmr (fix #10)
Browse files Browse the repository at this point in the history
  • Loading branch information
amoutonbrady committed May 8, 2021
1 parent c8a6cfc commit a3720a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,8 @@ If at least one of this point is blocking to you, you can revert to the old beha
const dispose = render(() => <App />, document.body);

if (import.meta.hot) {
import.meta.accept();
import.meta.dispose(dispose);
import.meta.hmr.accept();
import.meta.hmr.dispose(dispose);
}
```
Expand Down

0 comments on commit a3720a5

Please sign in to comment.