umami/pages/teams/index.js
2022-12-28 15:43:22 -08:00

18 lines
311 B
JavaScript

import Settings from 'components/pages/Settings';
import TeamsList from 'components/pages/TeamsList';
import useUser from 'hooks/useUser';
export default function TeamsPage() {
const user = useUser();
if (!user) {
return null;
}
return (
<Settings>
<TeamsList />
</Settings>
);
}