Merge branch 'feat/inda-383-daily-stat' into 'main'
[ProtonMail-WebClient.git] / applications / calendar / src / app / store / hooks.ts
blob8d6c5d82b6bda170a1413cfdac8b3c4db0e1269f
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;