refactor(auth): remove personal code from sign-up flow and update related components
feat(i18n): update translations for company account creation and get started
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { ServerDataLoader } from '@makerkit/data-loader-supabase-nextjs';
|
||||
import { Trans } from 'react-i18next';
|
||||
|
||||
import { AdminAccountsTable } from '@kit/admin/components/admin-accounts-table';
|
||||
import { AdminCreateCompanyDialog } from '@kit/admin/components/admin-create-company-dialog';
|
||||
@@ -38,7 +39,9 @@ async function AccountsPage(props: AdminAccountsPageProps) {
|
||||
</Button>
|
||||
</AdminCreateUserDialog>
|
||||
<AdminCreateCompanyDialog>
|
||||
<Button>Create Company Account</Button>
|
||||
<Button>
|
||||
<Trans i18nKey="account:createCompanyAccount" />
|
||||
</Button>
|
||||
</AdminCreateCompanyDialog>
|
||||
</div>
|
||||
</PageHeader>
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
import { createAccountsApi } from '@/packages/features/accounts/src/server/api';
|
||||
import { createTeamAccountsApi } from '@/packages/features/team-accounts/src/server/api';
|
||||
import { getSupabaseServerClient } from '@/packages/supabase/src/clients/server-client';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user