mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 04:48:53 +00:00
chore: remove unused code (#3102)
(cherry picked from commit da140b0b85)
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
import { Loading } from './page-loading';
|
||||
export * from './page-loading';
|
||||
export default Loading;
|
||||
@@ -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;
|
||||
};
|
||||
Reference in New Issue
Block a user