import React from 'react'; import LinkFooter from 'soapbox/features/ui/components/link_footer'; import BundleContainer from 'soapbox/features/ui/containers/bundle_container'; import { WhoToFollowPanel, TrendsPanel, SignUpPanel, CtaBanner, } from 'soapbox/features/ui/util/async-components'; import { useAppSelector, useFeatures } from 'soapbox/hooks'; import { Layout } from '../components/ui'; const DefaultPage: React.FC = ({ children }) => { const me = useAppSelector(state => state.me); const features = useFeatures(); return ( <> {children} {!me && ( {Component => } )} {!me && ( {Component => } )} {features.trends && ( {Component => } )} {me && features.suggestions && ( {Component => } )} ); }; export default DefaultPage;