-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
feat: better error page #5536
feat: better error page #5536
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Deploying with Cloudflare Pages
|
Sentry temporarily pinned down to an older version till getsentry/sentry-javascript#6392 is released (results in an eventId being 0000000) |
@@ -90,19 +90,19 @@ export default function UnstakingModal({ isOpen, onDismiss, stakingInfo }: Staki | |||
</RowBetween> | |||
{stakingInfo?.stakedAmount && ( | |||
<AutoColumn justify="center" gap="md"> | |||
<ThemedText.DeprecatedBody fontWeight={600} fontSize={36}> | |||
<ThemedText.HeadlineLarge> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After adding HeadlineLarge
from Figma, I did a quick search to replace places where DeprecatedBody
was used to achieve same settings. Note that this is non-breaking, since DeprecatedBody
text color is actually a textPrimary.
Will wait for another pass, since I ended up doing few more changes! |
Errors just got better 🎉 Now it's time to make sure this page appears less often! |
Implements a new design of the error page as per Figma, aligns with new components/sizing where possible.
To reproduce, uncomment
isProduction
check inindex.tsx
to init Sentry and then, add the following:somewhere in the code, preferably in a top-level page component.
Todo: