mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-17 10:06:17 +08:00
+1
-1
@@ -40,7 +40,7 @@ export const WorkspaceDeleteModal = ({
|
||||
confirmButtonOptions={{
|
||||
variant: 'error',
|
||||
disabled: !allowDelete,
|
||||
['data-testid' as string]: 'delete-workspace-confirm-button',
|
||||
'data-testid': 'delete-workspace-confirm-button',
|
||||
}}
|
||||
{...props}
|
||||
>
|
||||
|
||||
@@ -127,7 +127,7 @@ export const Export = ({ exportHandler, className, pageMode }: ExportProps) => {
|
||||
triggerOptions={{
|
||||
className: transitionStyle,
|
||||
prefixIcon: <ExportIcon />,
|
||||
['data-testid' as string]: 'export-menu',
|
||||
'data-testid': 'export-menu',
|
||||
}}
|
||||
subOptions={{
|
||||
onOpenChange: handleExportMenuOpenChange,
|
||||
|
||||
@@ -213,7 +213,7 @@ export const Snapshot = ({ className }: SnapshotProps) => {
|
||||
triggerOptions={{
|
||||
className: transitionStyle,
|
||||
prefixIcon: <ToneIcon />,
|
||||
['data-testid' as string]: 'snapshot-menu',
|
||||
'data-testid': 'snapshot-menu',
|
||||
}}
|
||||
subOptions={{}}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user