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`);
|
||||
|
||||
const accountHomePath = '/home/' + data.slug;
|
||||
|
||||
redirect(accountHomePath);
|
||||
redirect(`/home/${data.slug}/settings`);
|
||||
},
|
||||
{
|
||||
schema: CreateTeamSchema,
|
||||
|
||||
Reference in New Issue
Block a user