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