Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

chore: clean code

lawvs892f15f78cd1
diff --git a/libs/components/account/src/error.tsx b/libs/components/account/src/error.tsx
index fb1f93f551..55489187df 100644
--- a/libs/components/account/src/error.tsx
+++ b/libs/components/account/src/error.tsx
@@ -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: {
diff --git a/libs/components/board-draw/src/components/error-fallback/error-fallback.tsx b/libs/components/board-draw/src/components/error-fallback/error-fallback.tsx
index a88b441d96..f3b076bbf4 100644
--- a/libs/components/board-draw/src/components/error-fallback/error-fallback.tsx
+++ b/libs/components/board-draw/src/components/error-fallback/error-fallback.tsx
@@ -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>