Skip to content

Commit

Permalink
fix(demo): use named exports (#1554)
Browse files Browse the repository at this point in the history
  • Loading branch information
dai-shi committed Jan 19, 2023
1 parent 1df4f61 commit 52e9feb
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion examples/demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"react": "^18.2.0",
"react-dom": "^18.2.0",
"three": "^0.141.0",
"zustand": "^4.0.0"
"zustand": "^4.3.2"
},
"scripts": {
"start": "react-scripts start",
Expand Down
2 changes: 1 addition & 1 deletion examples/demo/src/App.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import create from 'zustand'
import { create } from 'zustand'
import CodePreview from './components/CodePreview'
import Details from './components/Details'
import code from './resources/code'
Expand Down
2 changes: 1 addition & 1 deletion examples/demo/src/resources/code.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const code = `import create from 'zustand'
const code = `import { create } from 'zustand'
const useStore = create(set => ({
count: 1,
Expand Down
8 changes: 4 additions & 4 deletions examples/demo/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9481,9 +9481,9 @@ zustand@^3.5.13, zustand@^3.7.1:
resolved "https://registry.yarnpkg.com/zustand/-/zustand-3.7.2.tgz#7b44c4f4a5bfd7a8296a3957b13e1c346f42514d"
integrity sha512-PIJDIZKtokhof+9+60cpockVOq05sJzHCriyvaLBmEJixseQ1a5Kdov6fWZfWOu5SK9c+FhH1jU0tntLxRJYMA==

zustand@^4.0.0:
version "4.1.1"
resolved "https://registry.yarnpkg.com/zustand/-/zustand-4.1.1.tgz#5a61cc755a002df5f041840a414ae6e9a99ee22b"
integrity sha512-h4F3WMqsZgvvaE0n3lThx4MM81Ls9xebjvrABNzf5+jb3/03YjNTSgZXeyrvXDArMeV9untvWXRw1tY+ntPYbA==
zustand@^4.3.2:
version "4.3.2"
resolved "https://registry.yarnpkg.com/zustand/-/zustand-4.3.2.tgz#bb121fcad84c5a569e94bd1a2695e1a93ba85d39"
integrity sha512-rd4haDmlwMTVWVqwvgy00ny8rtti/klRoZjFbL/MAcDnmD5qSw/RZc+Vddstdv90M5Lv6RPgWvm1Hivyn0QgJw==
dependencies:
use-sync-external-store "1.2.0"

0 comments on commit 52e9feb

Please sign in to comment.