import { get } from 'lodash' const root = (state: any) => state.profile export const handle = (state: any): string => get(root(state), 'handle') export const globalHandle = (state: any): string => get(root(state), 'globalHandle') export const visibility = (state: any): string => get(root(state), 'visibility')