mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-20 13:32:00 +00:00
22 lines
442 B
TypeScript
22 lines
442 B
TypeScript
'use client';
|
|
|
|
import { create } from 'zustand';
|
|
import { devtools } from 'zustand/middleware';
|
|
import {
|
|
createClosingTabSlice,
|
|
ClosingTabSlice,
|
|
} from '@/stores/closing/slices/closing-tab.slice';
|
|
|
|
export type ClosingTabStore = ClosingTabSlice;
|
|
|
|
export const useClosingTabStore = create<ClosingTabStore>()(
|
|
devtools(
|
|
(...args) => ({
|
|
...createClosingTabSlice(...args),
|
|
}),
|
|
{
|
|
name: 'ClosingTabStore',
|
|
}
|
|
)
|
|
);
|