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