mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-12 16:35:49 +01:00
🚨 Fix runtime zustand warnings for imports (#853)
This commit is contained in:
@@ -72,7 +72,7 @@
|
|||||||
"xml-js": "^1.6.11",
|
"xml-js": "^1.6.11",
|
||||||
"yarn": "^1.22.19",
|
"yarn": "^1.22.19",
|
||||||
"zod": "^3.21.4",
|
"zod": "^3.21.4",
|
||||||
"zustand": "^4.1.4"
|
"zustand": "^4.3.7"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@next/bundle-analyzer": "^12.1.4",
|
"@next/bundle-analyzer": "^12.1.4",
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import { createContext, ReactNode, useContext, useEffect, useState } from 'react';
|
import { createContext, ReactNode, useContext, useEffect, useState } from 'react';
|
||||||
import shallow from 'zustand/shallow';
|
import { shallow } from 'zustand/shallow';
|
||||||
import { useColorTheme } from '../tools/color';
|
import { useColorTheme } from '../tools/color';
|
||||||
import { ConfigType } from '../types/config';
|
import { ConfigType } from '../types/config';
|
||||||
import { useConfigStore } from './store';
|
import { useConfigStore } from './store';
|
||||||
|
|||||||
10
yarn.lock
10
yarn.lock
@@ -5002,7 +5002,7 @@ __metadata:
|
|||||||
xml-js: ^1.6.11
|
xml-js: ^1.6.11
|
||||||
yarn: ^1.22.19
|
yarn: ^1.22.19
|
||||||
zod: ^3.21.4
|
zod: ^3.21.4
|
||||||
zustand: ^4.1.4
|
zustand: ^4.3.7
|
||||||
languageName: unknown
|
languageName: unknown
|
||||||
linkType: soft
|
linkType: soft
|
||||||
|
|
||||||
@@ -8943,9 +8943,9 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"zustand@npm:^4.1.4":
|
"zustand@npm:^4.3.7":
|
||||||
version: 4.3.6
|
version: 4.3.7
|
||||||
resolution: "zustand@npm:4.3.6"
|
resolution: "zustand@npm:4.3.7"
|
||||||
dependencies:
|
dependencies:
|
||||||
use-sync-external-store: 1.2.0
|
use-sync-external-store: 1.2.0
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
@@ -8956,6 +8956,6 @@ __metadata:
|
|||||||
optional: true
|
optional: true
|
||||||
react:
|
react:
|
||||||
optional: true
|
optional: true
|
||||||
checksum: 4d3cec03526f04ff3de6dc45b6f038c47f091836af9660fbf5f682cae1628221102882df20e4048dfe699a43f67424e5d6afc1116f3838a80eea5dd4f95ddaed
|
checksum: 355b414ba4830b6106bcb888077c5f90f40ed649e4127e337eff4fb4ea90e88bf5cccf32344711d743cb92a676a0643a6ab3674ddc60ed49f17ea1bc8e3f58e2
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|||||||
Reference in New Issue
Block a user