New formatting

This commit is contained in:
2023-10-19 16:50:21 -04:00
parent 0b5e82bfcc
commit 026d1ca06d
30 changed files with 76 additions and 76 deletions

View File

@ -46,7 +46,7 @@ export function ErrorBoundary() {
<Link color="#646cff" onClick={() => location.reload()}>
Refresh
</Link>
</Container>
</Container>,
);
const { status } = error;
@ -74,7 +74,7 @@ export function ErrorBoundary() {
<Link color="#646cff" onClick={() => history.go(-1)}>
Go back
</Link>
</Container>
</Container>,
);
default:
@ -90,7 +90,7 @@ export function ErrorBoundary() {
<Link color="#646cff" onClick={() => location.reload()}>
Reload
</Link>
</Container>
</Container>,
);
}
}
@ -124,7 +124,7 @@ export function meta() {
function getMarkup(
loaderData: { [k: string]: any },
child: ReactNode
child: ReactNode,
): JSX.Element {
const Document = withEmotionCache(
({ children }: { children: ReactNode }, emotionCache) => {
@ -149,7 +149,7 @@ function getMarkup(
colorModeManager={cookieStorageManagerSSR(
typeof document === "undefined"
? `chakra-ui-color-mode=${loaderData.theme}`
: document.cookie
: document.cookie,
)}
theme={theme}
>
@ -199,7 +199,7 @@ function getMarkup(
</body>
</html>
);
}
},
);
return <Document>{child}</Document>;