import classNames from 'classnames'; import * as React from 'react'; import { FormattedMessage } from 'react-intl'; import { useDispatch } from 'react-redux'; import { Link } from 'react-router-dom'; import SiteLogo from 'soapbox/components/site-logo'; import { Avatar, Button } from 'soapbox/components/ui'; import Search from 'soapbox/features/compose/components/search'; import { useOwnAccount, useSoapboxConfig } from 'soapbox/hooks'; import { openSidebar } from '../../../actions/sidebar'; import ProfileDropdown from './profile-dropdown'; const Navbar = () => { const dispatch = useDispatch(); const node = React.useRef(null); const account = useOwnAccount(); const soapboxConfig = useSoapboxConfig(); const singleUserMode = soapboxConfig.get('singleUserMode'); const onOpenSidebar = () => dispatch(openSidebar()); return ( ); }; export default Navbar;