Use source loader for email sprite icons
[ProtonMail-WebClient.git] / packages / wallet / store / hooks / useUserEligibility.ts
blobaaa8327b1cc7e4114ac916263142ecac3b2778d2
1 import { createHooks } from '@proton/redux-utilities';
3 import { selectUserEligibility, userEligibilityThunk } from '../slices';
5 const hooks = createHooks(userEligibilityThunk, selectUserEligibility);
7 export const useUserEligibility = hooks.useValue;
8 export const useGetUserEligibility = hooks.useGet;