🚨 Fix runtime zustand warnings for imports (#853)

This commit is contained in:
Manuel
2023-04-24 21:40:20 +02:00
committed by GitHub
parent f4df411d47
commit cd433b0e3c
3 changed files with 7 additions and 7 deletions

View File

@@ -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",

View File

@@ -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';

View File

@@ -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
@@ -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:
@@ -8956,6 +8956,6 @@ __metadata:
optional: true
react:
optional: true
checksum: 4d3cec03526f04ff3de6dc45b6f038c47f091836af9660fbf5f682cae1628221102882df20e4048dfe699a43f67424e5d6afc1116f3838a80eea5dd4f95ddaed
checksum: 355b414ba4830b6106bcb888077c5f90f40ed649e4127e337eff4fb4ea90e88bf5cccf32344711d743cb92a676a0643a6ab3674ddc60ed49f17ea1bc8e3f58e2
languageName: node
linkType: hard