chore: remove unused code (#3102)

(cherry picked from commit da140b0b85)
This commit is contained in:
Alex Yang
2023-07-08 14:49:11 +08:00
parent 83d92af07d
commit 348c56ba30
10 changed files with 1 additions and 1621 deletions

View File

@@ -1,3 +0,0 @@
import { Loading } from './page-loading';
export * from './page-loading';
export default Loading;

View File

@@ -1,24 +0,0 @@
import { AffineLoading } from '@affine/component/affine-loading';
import { memo, Suspense } from 'react';
export const Loading = memo(function Loading() {
return (
<div
style={{
height: '180px',
width: '180px',
}}
>
<Suspense>
<AffineLoading loop={true} autoplay={true} autoReverse={true} />
</Suspense>
</div>
);
});
/**
* @deprecated use skeleton instead
*/
export const PageLoading = () => {
return null;
};