Update selected item color in Pass menu
[ProtonMail-WebClient.git] / packages / react-redux-store / index.tsx
bloba44e5b95662bff0376b01a87bcbf9fbc2bdb6c8b
1 import { createContext } from 'react';
2 import { type ReactReduxContextValue, createDispatchHook, createSelectorHook, createStoreHook } from 'react-redux';
4 export const ProtonStoreContext = createContext<ReactReduxContextValue | null>(null);
6 export const baseUseStore = createStoreHook(ProtonStoreContext);
7 export const baseUseDispatch = createDispatchHook(ProtonStoreContext);
8 export const baseUseSelector = createSelectorHook(ProtonStoreContext);