Skip to content

Commit e8b5532

Browse files
feat: redirect to onboarding after server activation (#584)
1 parent 9685474 commit e8b5532

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/layouts/RootLayout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export function RootLayout() {
99

1010
useEffect(() => {
1111
if (data && data.active === false) {
12-
navigate(routes.activateServer, { replace: true });
12+
navigate(routes.activateServer + `?redirect=${routes.onboarding}`, { replace: true });
1313
}
1414
}, [data]);
1515

0 commit comments

Comments
 (0)