1
- import Link from "@mui/material/Link" ;
2
1
import { Button } from "components/Button/Button" ;
3
2
import { CoderIcon } from "components/Icons/CoderIcon" ;
3
+ import { Link } from "components/Link/Link" ;
4
4
import { useEmbeddedMetadata } from "hooks/useEmbeddedMetadata" ;
5
5
import { type FC , useState } from "react" ;
6
6
import { Helmet } from "react-helmet-async" ;
@@ -43,22 +43,22 @@ export const GlobalErrorBoundaryInner: FC<GlobalErrorBoundaryInnerProps> = ({
43
43
< CoderIcon className = "w-11 h-11" />
44
44
45
45
< div className = "text-content-primary flex flex-col gap-1" >
46
- < h1 className = "text-2xl font-normal m-0" > { errorPageTitle } </ h1 >
47
- < p className = "leading-6 m-0" >
46
+ < h1 className = "text-2xl font-semibold m-0" > { errorPageTitle } </ h1 >
47
+ < p className = "leading-6 m-0 text-content-secondary text-sm " >
48
48
Please try reloading the page. If reloading does not work, you can
49
49
ask for help in the{ " " }
50
50
< Link
51
51
href = "https://discord.gg/coder"
52
52
target = "_blank"
53
- rel = "noreferer "
53
+ rel = "noreferrer "
54
54
>
55
55
Coder Discord community
56
56
< span className = "sr-only" > (link opens in a new tab)</ span >
57
57
</ Link > { " " }
58
58
or{ " " }
59
59
< Link
60
60
target = "_blank"
61
- rel = "noreferer "
61
+ rel = "noreferrer "
62
62
href = { publicGithubIssueLink (
63
63
coderVersion ,
64
64
location . pathname ,
@@ -73,9 +73,9 @@ export const GlobalErrorBoundaryInner: FC<GlobalErrorBoundaryInnerProps> = ({
73
73
</ div >
74
74
</ div >
75
75
76
- < div className = "flex flex-row flex-nowrap justify-center gap-4 " >
77
- < Button asChild className = "min-w-32 font-medium " >
78
- < Link href = { location . pathname } > Reload page</ Link >
76
+ < div className = "flex flex-row flex-nowrap justify-center gap-2 " >
77
+ < Button asChild className = "min-w-32 " >
78
+ < a href = { location . pathname } > Reload page</ a >
79
79
</ Button >
80
80
81
81
{ isRenderableError && (
0 commit comments