Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix starting issue related to React Suspense #648

Merged
merged 1 commit into from
Apr 15, 2024

Conversation

DavideSilva
Copy link
Contributor

Why:

  • The DevBuildNotice component is using the useInvoke hook, that makes
    use of React Suspense, but the component wasn't wrapped around a
    Suspense component, causing the error to appear

How:

  • Moving the DevBuildNotice component to be inside the Suspense
    component in the component tree

Why:
* The `DevBuildNotice` component is using the `useInvoke` hook, that makes
  use of React Suspense, but the component wasn't wrapped around a
  `Suspense` component, causing the error to appear

How:
* Moving the `DevBuildNotice` component to be inside the `Suspense`
  component in the component tree
@DavideSilva DavideSilva requested a review from naps62 April 15, 2024 17:16
@naps62 naps62 enabled auto-merge April 15, 2024 17:18
@naps62 naps62 added this pull request to the merge queue Apr 15, 2024
Merged via the queue into main with commit 34ceead Apr 15, 2024
5 of 6 checks passed
@naps62 naps62 deleted the ds/fix-devnotice-suspense-error branch April 15, 2024 17:18
naps62 added a commit that referenced this pull request Apr 15, 2024
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.

None yet

2 participants