mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-18 14:23:44 +02:00
Add view for editing the details of a schedule
This commit is contained in:
9
resources/scripts/state/hooks.ts
Normal file
9
resources/scripts/state/hooks.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import { createTypedHooks } from 'easy-peasy';
|
||||
import { ApplicationStore } from '@/state/index';
|
||||
|
||||
const hooks = createTypedHooks<ApplicationStore>();
|
||||
|
||||
export const useStore = hooks.useStore;
|
||||
export const useStoreState = hooks.useStoreState;
|
||||
export const useStoreActions = hooks.useStoreActions;
|
||||
export const useStoreDispatch = hooks.useStoreDispatch;
|
||||
Reference in New Issue
Block a user