Browse Source

chore(zustand): replace default export by named expor

Nicolas Meienberger 2 years ago
parent
commit
cb5b5fc43a

+ 1 - 1
src/client/modules/AppStore/state/appStoreState.ts

@@ -1,4 +1,4 @@
-import create from 'zustand';
+import { create } from 'zustand';
 import { AppCategory } from '../../../core/types';
 import { SortableColumns } from '../helpers/table.types';
 

+ 1 - 1
src/client/state/systemStore.ts

@@ -1,4 +1,4 @@
-import create from 'zustand';
+import { create } from 'zustand';
 
 const SYSTEM_STATUS = {
   RUNNING: 'RUNNING',

+ 1 - 1
src/client/state/toastStore.ts

@@ -1,4 +1,4 @@
-import create from 'zustand';
+import { create } from 'zustand';
 
 export type IToast = {
   id: string;

+ 1 - 1
src/client/state/uiStore.ts

@@ -1,4 +1,4 @@
-import create from 'zustand';
+import { create } from 'zustand';
 
 type UIStore = {
   menuItem: string;