chore: clean code

This commit is contained in:
lawvs committed 2022-09-26 15:26:22 +08:00
1 parent a94765913b
commit 892f15f78c
2 files changed
+4 -3

No files matched your search

+1 -2
View File
@@ -1,7 +1,6 @@
import style9 from 'style9';
import { keyframes } from '@emotion/react';
import { MuiBox as Box } from '@toeverything/components/ui';
import { keyframes, MuiBox as Box } from '@toeverything/components/ui';
const styles = style9.create({
container: {
@@ -35,7 +35,9 @@ export function ErrorFallback({ error, resetErrorBoundary }: FallbackProps) {
<pre>
<code>{error.message}</code>
</pre>
<div>
<div
style={{ display: 'flex', justifyContent: 'space-evenly' }}
>
<button onClick={copyError}>Copy Error</button>
<button onClick={refreshPage}>Refresh Page</button>
</div>