mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-20 13:32:00 +00:00
feat(FE-40): add main UI slice to useUiStore
This commit is contained in:
@@ -4,9 +4,15 @@ import { create } from 'zustand';
|
|||||||
import { devtools } from 'zustand/middleware';
|
import { devtools } from 'zustand/middleware';
|
||||||
|
|
||||||
import { UIStore } from '@/types/stores';
|
import { UIStore } from '@/types/stores';
|
||||||
|
import { createMainUiSlice } from './slices/main.slice';
|
||||||
|
|
||||||
export const useUiStore = create<UIStore>()(
|
export const useUiStore = create<UIStore>()(
|
||||||
devtools((...args) => ({}), {
|
devtools(
|
||||||
name: 'UIStore',
|
(...args) => ({
|
||||||
})
|
...createMainUiSlice(...args),
|
||||||
|
}),
|
||||||
|
{
|
||||||
|
name: 'UIStore',
|
||||||
|
}
|
||||||
|
)
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user