B2B-30: fix redirect target after company creation
This commit is contained in:
@@ -38,9 +38,7 @@ export const createTeamAccountAction = enhanceAction(
|
|||||||
|
|
||||||
logger.info(ctx, `Team account created`);
|
logger.info(ctx, `Team account created`);
|
||||||
|
|
||||||
const accountHomePath = '/home/' + data.slug;
|
redirect(`/home/${data.slug}/settings`);
|
||||||
|
|
||||||
redirect(accountHomePath);
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
schema: CreateTeamSchema,
|
schema: CreateTeamSchema,
|
||||||
|
|||||||
Reference in New Issue
Block a user