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 issue with how error splash page was rendered #1131

Merged
merged 2 commits into from
May 18, 2024

Conversation

jessepinho
Copy link
Contributor

@jessepinho jessepinho commented May 17, 2024

Before (from #960)

Screen_Recording_Compressed.mp4

After

image

Closes #960

Copy link

changeset-bot bot commented May 17, 2024

🦋 Changeset detected

Latest commit: 5636a55

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
minifront Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@jessepinho jessepinho changed the title Fix issue with how error was rendered Fix issue with how error splash page was rendered May 17, 2024
@@ -34,12 +34,10 @@ export const rootRouter = createHashRouter([
index: true,
loader: AssetsLoader,
element: <AssetsTable />,
errorElement: <ErrorBoundary />,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding error boundaries lower down in the route tree means that the error boundary will render within that route's <Outlet />. I've removed these so that all errors bubble up to the top-level boundary.

@jessepinho jessepinho requested a review from grod220 May 17, 2024 19:35
@jessepinho jessepinho marked this pull request as ready for review May 17, 2024 19:35
@jessepinho jessepinho merged commit d654724 into main May 18, 2024
6 checks passed
@jessepinho jessepinho deleted the jessepinho/error-page-web-960 branch May 18, 2024 00:09
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.

Error splash screen render bug
2 participants