mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-16 09:36:17 +08:00
fix: lint error
This commit is contained in:
@@ -1,10 +1,10 @@
|
|||||||
|
import { WorkspaceUnit } from '@affine/datacenter';
|
||||||
import { useTranslation } from '@affine/i18n';
|
import { useTranslation } from '@affine/i18n';
|
||||||
import { Wrapper } from '@/ui/layout';
|
import { Wrapper } from '@/ui/layout';
|
||||||
import { Button } from '@/ui/button';
|
import { Button } from '@/ui/button';
|
||||||
|
export const ExportPage = ({ workspace }: { workspace: WorkspaceUnit }) => {
|
||||||
export const ExportPage = () => {
|
|
||||||
const { t } = useTranslation();
|
const { t } = useTranslation();
|
||||||
|
console.log(workspace);
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<Wrapper marginBottom="32px"> {t('Export Description')}</Wrapper>
|
<Wrapper marginBottom="32px"> {t('Export Description')}</Wrapper>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import { getButtonColors } from './utils';
|
|||||||
|
|
||||||
export const LoadingContainer = styled('div')<Pick<ButtonProps, 'type'>>(
|
export const LoadingContainer = styled('div')<Pick<ButtonProps, 'type'>>(
|
||||||
({ theme, type = 'default' }) => {
|
({ theme, type = 'default' }) => {
|
||||||
const { color } = getButtonColors(theme, type);
|
const { color } = getButtonColors(theme, type, false);
|
||||||
return `
|
return `
|
||||||
margin: 0px auto;
|
margin: 0px auto;
|
||||||
width: 38px;
|
width: 38px;
|
||||||
|
|||||||
Reference in New Issue
Block a user