Add view for editing the details of a schedule
This commit is contained in:
parent
f180e3ef0b
commit
3820d4e156
11 changed files with 334 additions and 53 deletions
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 a new issue