Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 19 additions & 5 deletions playground/src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,25 @@ init()
createRoot(document.getElementById("root")!).render(
<StrictMode>
<Sentry.ErrorBoundary
fallback={
<div className="flex items-center justify-center h-screen text-5xl text-orange-700">
Error encounted. Please try refreshing the page.
</div>
}
fallback={() => {
return (
<div className="flex items-center justify-center h-screen text-5xl text-orange-700 ">
<div className="flex flex-col">
<div>An internal error with Squawk has occured.</div>
<div>
Please open an issue at{" "}
<a
href="https://github.com/sbdchd/squawk/issues/new"
className="underline"
>
github.com/sbdchd/squawk
</a>
!
</div>
</div>
</div>
)
}}
>
<App />
</Sentry.ErrorBoundary>
Expand Down
Loading