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