diff --git a/packages/frontend/core/src/components/pure/file-upload/index.tsx b/packages/frontend/core/src/components/pure/file-upload/index.tsx index 8d09b530a5..c0b25d8aa0 100644 --- a/packages/frontend/core/src/components/pure/file-upload/index.tsx +++ b/packages/frontend/core/src/components/pure/file-upload/index.tsx @@ -1,4 +1,3 @@ -import { styled } from '@affine/component'; import { Button } from '@affine/component/ui/button'; import { useAFFiNEI18N } from '@affine/i18n/hooks'; import type { ChangeEvent, PropsWithChildren } from 'react'; @@ -42,7 +41,7 @@ export const Upload = ({ } return ( - +
{children ?? } - +
); }; - -const UploadStyle = styled('div')(() => { - return { - display: 'inline-block', - }; -});