B2B-30: adds personal code to account, company admins invites members
This commit is contained in:
@@ -9,6 +9,7 @@ import { withI18n } from '~/lib/i18n/with-i18n';
|
||||
|
||||
import { DashboardDemo } from './_components/dashboard-demo';
|
||||
import { TeamAccountLayoutPageHeader } from './_components/team-account-layout-page-header';
|
||||
import { CompanyGuard } from '@/packages/features/team-accounts/src/components';
|
||||
|
||||
interface TeamAccountHomePageProps {
|
||||
params: Promise<{ account: string }>;
|
||||
@@ -41,4 +42,4 @@ function TeamAccountHomePage({ params }: TeamAccountHomePageProps) {
|
||||
);
|
||||
}
|
||||
|
||||
export default withI18n(TeamAccountHomePage);
|
||||
export default withI18n(CompanyGuard(TeamAccountHomePage));
|
||||
|
||||
Reference in New Issue
Block a user