From 6cbdff5398ea7b4bcb80abb84b664f2dad0705be Mon Sep 17 00:00:00 2001 From: ValdiANS Date: Wed, 1 Oct 2025 13:45:00 +0700 Subject: [PATCH] feat(FE-40): add main UI slice to useUiStore --- src/stores/ui/ui.store.ts | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/stores/ui/ui.store.ts b/src/stores/ui/ui.store.ts index 86016974..2e64dcc1 100644 --- a/src/stores/ui/ui.store.ts +++ b/src/stores/ui/ui.store.ts @@ -4,9 +4,15 @@ import { create } from 'zustand'; import { devtools } from 'zustand/middleware'; import { UIStore } from '@/types/stores'; +import { createMainUiSlice } from './slices/main.slice'; export const useUiStore = create()( - devtools((...args) => ({}), { - name: 'UIStore', - }) + devtools( + (...args) => ({ + ...createMainUiSlice(...args), + }), + { + name: 'UIStore', + } + ) );