mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-25 06:18:45 +08:00
chore: clean code
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user