Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Autofocus on the delete action only in the file viewer context

Manav Rathieb0af57a8473
diff --git a/web/apps/photos/src/utils/ui/index.tsx b/web/apps/photos/src/utils/ui/index.tsx
index 497948d52d..3cc4e6ce4f 100644
--- a/web/apps/photos/src/utils/ui/index.tsx
+++ b/web/apps/photos/src/utils/ui/index.tsx
@@ -13,7 +13,6 @@ export const getTrashFilesMessage = (
action: deleteFileHelper,
text: t("MOVE_TO_TRASH"),
variant: "critical",
- autoFocus: true,
},
close: { text: t("cancel") },
});