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