import React from 'react'; import { Button, Popover, Menu, Position } from '@blueprintjs/core'; import Icon from 'components/Icon'; import { useAuthUser } from 'hooks/state'; import { compose, firstLettersArgs } from 'utils'; import withCurrentOrganization from '../../containers/Organization/withCurrentOrganization'; // Popover modifiers. const POPOVER_MODIFIERS = { offset: { offset: '28, 8' }, }; /** * Sideabr head. */ function SidebarHead({ // #withCurrentOrganization organization, }) { const user = useAuthUser(); return (