import { PureComponent } from 'react'; import { Switch, Route, withRouter } from 'react-router-dom'; import AccountNavigation from 'mastodon/features/account/navigation'; import Trends from 'mastodon/features/getting_started/containers/trends_container'; import { showTrends } from 'mastodon/initial_state'; const DefaultNavigation = () => ( showTrends ? ( <>
) : null ); class NavigationPortal extends PureComponent { render () { return ( ); } } export default withRouter(NavigationPortal);