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

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