mirror of
https://github.com/AppFlowy-IO/AppFlowy-Web.git
synced 2025-11-30 03:18:02 +08:00
chore: fix lint
This commit is contained in:
@@ -95,7 +95,7 @@ export function NormalModal ({
|
|||||||
{modalCancelText}
|
{modalCancelText}
|
||||||
</Button>
|
</Button>
|
||||||
<Button
|
<Button
|
||||||
data-testid={danger ? 'confirm-delete-button' : undefined}
|
data-testid={danger ? 'confirm-delete-button' : 'modal-ok-button'}
|
||||||
color={danger ? 'error' : 'primary'}
|
color={danger ? 'error' : 'primary'}
|
||||||
variant={'contained'}
|
variant={'contained'}
|
||||||
size={'small'}
|
size={'small'}
|
||||||
|
|||||||
@@ -59,12 +59,9 @@ function CreateSpaceModal({
|
|||||||
classes={{ container: 'items-start max-md:mt-auto max-md:items-center mt-[10%] ' }}
|
classes={{ container: 'items-start max-md:mt-auto max-md:items-center mt-[10%] ' }}
|
||||||
okLoading={loading}
|
okLoading={loading}
|
||||||
onOk={handleOk}
|
onOk={handleOk}
|
||||||
okButtonProps={{
|
|
||||||
'data-testid': 'modal-ok-button',
|
|
||||||
}}
|
|
||||||
PaperProps={{
|
PaperProps={{
|
||||||
className: 'w-[600px] max-w-[70vw]',
|
className: 'w-[600px] max-w-[70vw]',
|
||||||
'data-testid': 'create-space-modal',
|
...({ 'data-testid': 'create-space-modal' } as Record<string, unknown>),
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
|
|||||||
Reference in New Issue
Block a user