docs: fix typo in with-unstated/README.md (#26004)

resetted -> reset
This commit is contained in:
Ikko Ashimine 2021-06-11 23:12:50 +09:00 committed by GitHub
parent 5925bf254a
commit a1dc5588c2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,7 +2,7 @@
This example shows how to integrate [Unstated Next](https://github.com/jamiebuilds/unstated-next) with Next.js.
There are two pages, `/` and `/about`, both render a counter and a timer, the state is saved for the current page and resetted when switching to a different page. To keep a shared state between pages you can add the state providers to `pages/_app.js` instead of using the page.
There are two pages, `/` and `/about`, both render a counter and a timer, the state is saved for the current page and reset when switching to a different page. To keep a shared state between pages you can add the state providers to `pages/_app.js` instead of using the page.
## Preview