aboutsummaryrefslogtreecommitdiff
path: root/modern/src/selectors.js
blob: f0b08f5f1ee419553d06b3701bc66937ca0b7d5b (plain)
1
2
3
export const getIsAdmin = state => state.session.user?.administrator;

export const getUserId = state => state.session.user?.id;