chore: clean code
This commit is contained in:
@@ -1,7 +1,6 @@
|
|||||||
import style9 from 'style9';
|
import style9 from 'style9';
|
||||||
|
|
||||||
import { keyframes } from '@emotion/react';
|
import { keyframes, MuiBox as Box } from '@toeverything/components/ui';
|
||||||
import { MuiBox as Box } from '@toeverything/components/ui';
|
|
||||||
|
|
||||||
const styles = style9.create({
|
const styles = style9.create({
|
||||||
container: {
|
container: {
|
||||||
|
|||||||
@@ -35,7 +35,9 @@ export function ErrorFallback({ error, resetErrorBoundary }: FallbackProps) {
|
|||||||
<pre>
|
<pre>
|
||||||
<code>{error.message}</code>
|
<code>{error.message}</code>
|
||||||
</pre>
|
</pre>
|
||||||
<div>
|
<div
|
||||||
|
style={{ display: 'flex', justifyContent: 'space-evenly' }}
|
||||||
|
>
|
||||||
<button onClick={copyError}>Copy Error</button>
|
<button onClick={copyError}>Copy Error</button>
|
||||||
<button onClick={refreshPage}>Refresh Page</button>
|
<button onClick={refreshPage}>Refresh Page</button>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user