feat: update 404 page (#3580)

Co-authored-by: QiShaoXuan <qishaoxuan777@gmail.com>
This commit is contained in:
Alex Yang
2023-08-04 16:11:30 -07:00
committed by GitHub
parent f076cb0ead
commit ea76936508
6 changed files with 30 additions and 5 deletions

View File

@@ -1,5 +1,6 @@
import '@affine/component/theme/global.css';
import '@affine/component/theme/theme.css';
import '@toeverything/components/style.css';
import { AffineContext } from '@affine/component/context';
import { WorkspaceFallback } from '@affine/component/workspace';

View File

@@ -1,6 +1,7 @@
import { Button, displayFlex, styled } from '@affine/component';
import { displayFlex, styled } from '@affine/component';
import { WorkspaceSubPath } from '@affine/env/workspace';
import { useAFFiNEI18N } from '@affine/i18n/hooks';
import { Button } from '@toeverything/components/button';
import type { ReactElement } from 'react';
import { useNavigateHelper } from '../hooks/use-navigate-helper';