chore: clean code

This commit is contained in:
lawvs
2022-09-26 15:26:22 +08:00
parent a94765913b
commit 892f15f78c
2 changed files with 4 additions and 3 deletions
+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>