mirror of
https://github.com/umami-software/umami.git
synced 2026-02-06 05:37:20 +01:00
17 lines
311 B
JavaScript
17 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>
|
|
);
|
|
}
|