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}
|
||||
</Button>
|
||||
<Button
|
||||
data-testid={danger ? 'confirm-delete-button' : undefined}
|
||||
data-testid={danger ? 'confirm-delete-button' : 'modal-ok-button'}
|
||||
color={danger ? 'error' : 'primary'}
|
||||
variant={'contained'}
|
||||
size={'small'}
|
||||
|
||||
@@ -59,12 +59,9 @@ function CreateSpaceModal({
|
||||
classes={{ container: 'items-start max-md:mt-auto max-md:items-center mt-[10%] ' }}
|
||||
okLoading={loading}
|
||||
onOk={handleOk}
|
||||
okButtonProps={{
|
||||
'data-testid': 'modal-ok-button',
|
||||
}}
|
||||
PaperProps={{
|
||||
className: 'w-[600px] max-w-[70vw]',
|
||||
'data-testid': 'create-space-modal',
|
||||
...({ 'data-testid': 'create-space-modal' } as Record<string, unknown>),
|
||||
}}
|
||||
>
|
||||
<div
|
||||
|
||||
Reference in New Issue
Block a user