1 2 3
export const getIsAdmin = state => state.session.user?.administrator; export const getUserId = state => state.session.user?.id;