1 import type { TypedUseSelectorHook } from 'react-redux';
3 import { baseUseDispatch, baseUseSelector, baseUseStore } from '@proton/react-redux-store';
5 import type { CalendarDispatch, CalendarState, CalendarStore } from './store';
7 export const useCalendarStore: () => CalendarStore = baseUseStore as any;
8 export const useCalendarDispatch: () => CalendarDispatch = baseUseDispatch;
9 export const useCalendarSelector: TypedUseSelectorHook<CalendarState> = baseUseSelector;