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