We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 16deb2e + 116ddd0 commit a931774Copy full SHA for a931774
1 file changed
packages/fxa-settings/src/pages/Signin/utils.ts
@@ -249,7 +249,9 @@ const getNonOAuthNavigationTarget = async (
249
),
250
};
251
}
252
- if (redirectTo) {
+ // We don't want a hard navigate to `/settings` as it
253
+ // clears out the initially created integration.
254
+ if (redirectTo && redirectTo !== '/settings') {
255
return { to: redirectTo, shouldHardNavigate: true };
256
257
return { to: '/settings' };
0 commit comments