umami/pages/teams/index.js
Brian Cao e1f99a7d01
Rewrite admin. (#1713)
* Rewrite admin.

* Clean up password forms.

* Fix naming issues.

* CSS Naming.
2022-12-26 16:57:59 -08:00

19 lines
371 B
JavaScript

import Settings from 'components/pages/Settings';
import TeamsList from 'components/pages/TeamsList';
import useRequireLogin from 'hooks/useRequireLogin';
import React from 'react';
export default function TeamsPage() {
const { loading } = useRequireLogin();
if (loading) {
return null;
}
return (
<Settings>
<TeamsList />
</Settings>
);
}