fix: lint error

This commit is contained in:
QiShaoXuan 2023-02-08 18:20:51 +08:00
parent 2ec5f6fb60
commit 7ff63cfb5f
2 changed files with 4 additions and 4 deletions

View File

@ -1,10 +1,10 @@
import { WorkspaceUnit } from '@affine/datacenter';
import { useTranslation } from '@affine/i18n';
import { Wrapper } from '@/ui/layout';
import { Button } from '@/ui/button';
export const ExportPage = () => {
export const ExportPage = ({ workspace }: { workspace: WorkspaceUnit }) => {
const { t } = useTranslation();
console.log(workspace);
return (
<>
<Wrapper marginBottom="32px"> {t('Export Description')}</Wrapper>

View File

@ -4,7 +4,7 @@ import { getButtonColors } from './utils';
export const LoadingContainer = styled('div')<Pick<ButtonProps, 'type'>>(
({ theme, type = 'default' }) => {
const { color } = getButtonColors(theme, type);
const { color } = getButtonColors(theme, type, false);
return `
margin: 0px auto;
width: 38px;