Skip to content

Commit

Permalink
🚨 Fix runtime zustand warnings for imports (#853)
Browse files Browse the repository at this point in the history
  • Loading branch information
manuel-rw authored Apr 24, 2023
1 parent f4df411 commit cd433b0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"xml-js": "^1.6.11",
"yarn": "^1.22.19",
"zod": "^3.21.4",
"zustand": "^4.1.4"
"zustand": "^4.3.7"
},
"devDependencies": {
"@next/bundle-analyzer": "^12.1.4",
Expand Down
2 changes: 1 addition & 1 deletion src/config/provider.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { createContext, ReactNode, useContext, useEffect, useState } from 'react';
import shallow from 'zustand/shallow';
import { shallow } from 'zustand/shallow';
import { useColorTheme } from '../tools/color';
import { ConfigType } from '../types/config';
import { useConfigStore } from './store';
Expand Down
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5002,7 +5002,7 @@ __metadata:
xml-js: ^1.6.11
yarn: ^1.22.19
zod: ^3.21.4
zustand: ^4.1.4
zustand: ^4.3.7
languageName: unknown
linkType: soft

Expand Down Expand Up @@ -8943,9 +8943,9 @@ __metadata:
languageName: node
linkType: hard

"zustand@npm:^4.1.4":
version: 4.3.6
resolution: "zustand@npm:4.3.6"
"zustand@npm:^4.3.7":
version: 4.3.7
resolution: "zustand@npm:4.3.7"
dependencies:
use-sync-external-store: 1.2.0
peerDependencies:
Expand All @@ -8956,6 +8956,6 @@ __metadata:
optional: true
react:
optional: true
checksum: 4d3cec03526f04ff3de6dc45b6f038c47f091836af9660fbf5f682cae1628221102882df20e4048dfe699a43f67424e5d6afc1116f3838a80eea5dd4f95ddaed
checksum: 355b414ba4830b6106bcb888077c5f90f40ed649e4127e337eff4fb4ea90e88bf5cccf32344711d743cb92a676a0643a6ab3674ddc60ed49f17ea1bc8e3f58e2
languageName: node
linkType: hard

0 comments on commit cd433b0

Please sign in to comment.