Skip to content
Snippets Groups Projects
users.js 117 B
Newer Older
import { get } from 'lodash'

export const currentUserIs = (state, role) =>
  get(state, `currentUser.user.${role}`)