mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-15 05:37:32 +00:00
refactor(component): adjust confirm modal api (#7589)
This commit is contained in:
@@ -54,9 +54,9 @@ export const DeleteTagConfirmModal = ({
|
||||
})
|
||||
)
|
||||
}
|
||||
confirmText={t['Delete']()}
|
||||
confirmButtonOptions={{
|
||||
type: 'warning',
|
||||
children: t['Delete'](),
|
||||
}}
|
||||
onConfirm={handleDelete}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user