import React from 'react'; import { Column, Layout } from 'soapbox/components/ui'; import LinkFooter from 'soapbox/features/ui/components/link-footer'; import BundleContainer from 'soapbox/features/ui/containers/bundle-container'; import { NewGroupPanel, CtaBanner, } from 'soapbox/features/ui/util/async-components'; import { useAppSelector } from 'soapbox/hooks'; interface IGroupsPage { children: React.ReactNode } /** Page to display groups. */ const GroupsPage: React.FC = ({ children }) => { const me = useAppSelector(state => state.me); // const match = useRouteMatch(); return ( <>
{children}
{!me && ( {Component => } )}
{Component => } ); }; export default GroupsPage;