File size: 245 Bytes
1e92f2d | 1 2 3 4 5 6 7 | import type { State } from './reducer';
export const getState = ( state: State ) => state;
export const getCurrentUser = ( state: State ) => state.currentUser;
export const isCurrentUserLoggedIn = ( state: State ) => !! state.currentUser?.ID;
|