Use source loader for email sprite icons
[ProtonMail-WebClient.git] / packages / calendar / calendars / hooks.ts
blob38e8e8550c58b8b253593968fd75fb828cd2fa4c
1 import { createHooks } from '@proton/redux-utilities';
3 import { calendarsThunk, selectCalendars } from './index';
5 const hooks = createHooks(calendarsThunk, selectCalendars);
7 export const useCalendars = hooks.useValue;
8 export const useGetCalendars = hooks.useGet;