mirror of
https://github.com/umami-software/umami.git
synced 2026-02-14 09:35:36 +01:00
Fix user logic.
This commit is contained in:
parent
02a1438cfe
commit
89f2fd601e
5 changed files with 2 additions and 23 deletions
|
|
@ -1,14 +1,7 @@
|
|||
import AppLayout from 'components/layout/AppLayout';
|
||||
import TeamsList from 'components/pages/settings/teams/TeamsList';
|
||||
import useUser from 'hooks/useUser';
|
||||
|
||||
export default function TeamsPage() {
|
||||
const { user } = useUser();
|
||||
|
||||
if (!user) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return (
|
||||
<AppLayout>
|
||||
<TeamsList />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue