import { RootState } from '..' import { User } from '../../types/user' export const selectUser = (state: RootState): User => state.user