Skip to content

Commit

Permalink
Merge pull request #2594 from bcgov/chore-redirect-to-dashboard-after…
Browse files Browse the repository at this point in the history
…-creating-user

Redirect user to dashboard after creating the user profile
  • Loading branch information
shon-button authored Dec 18, 2024
2 parents 5035ddd + 09b1bb6 commit 1f01bd3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export default function ProfileForm({ formData, isCreate }: Props) {
}, 3000);
if (isCreate) {
// 🛸 Redirect: after the update is complete, navigate to the dashboard
window.location.href = "./";
window.location.href = "/dashboard";
}
};

Expand Down

0 comments on commit 1f01bd3

Please sign in to comment.