Skip to content

Conversation

@vpomerleau
Copy link
Contributor

Because

  • If not signed in, links to /settings with integration params results in a general application error

This pull request

  • Move higher up in the App tree to safely catch lazy loaded children after isSignedIn updates
  • Move the fallback navigation to index into a useEffect to avoid navigation during render

Issue that this pull request solves

Closes: #FXA-12706

Checklist

Put an x in the boxes that apply

  • My commit is GPG signed.
  • If applicable, I have modified or added tests which pass locally.
  • I have added necessary documentation (if appropriate).
  • I have verified that my changes render correctly in RTL (if appropriate).

Screenshots (Optional)

Please attach the screenshots of the changes made in case of change in user interface.

Other information (Optional)

Any other information that is important to this pull request.

…signed in

Because:

* Loading the link fails if not signed in

This commit:

* Move <Suspense> higher up in the App tree to safely catch lazy loaded children after isSignedIn updates
* Move the fallback navigation to index into a useEffect to avoid navigation during render

Closes #FXA-12706
@vpomerleau vpomerleau requested a review from a team as a code owner November 23, 2025 07:17
@vpomerleau vpomerleau merged commit 61f01fd into main Nov 24, 2025
19 checks passed
@vpomerleau vpomerleau deleted the FXA-12706 branch November 24, 2025 19:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants