Skip to content

armgit / ente

Public Imported from GitHub
0

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

eq

Manav Rathi1d0ab2cd430d
diff --git a/web/apps/photos/src/components/FileList.tsx b/web/apps/photos/src/components/FileList.tsx
index 1792c0790b..c238edcb80 100644
--- a/web/apps/photos/src/components/FileList.tsx
+++ b/web/apps/photos/src/components/FileList.tsx
@@ -728,13 +728,13 @@ export const FileList: React.FC<FileListProps> = ({
useEffect(() => {
const handleKeyDown = (e: KeyboardEvent) => {
- if (e.key === "Shift") {
+ if (e.key == "Shift") {
setIsShiftKeyPressed(true);
}
};
const handleKeyUp = (e: KeyboardEvent) => {
- if (e.key === "Shift") {
+ if (e.key == "Shift") {
setIsShiftKeyPressed(false);
}
};
diff --git a/web/packages/new/photos/components/gallery/helpers.ts b/web/packages/new/photos/components/gallery/helpers.ts
index 6d7a6657f4..39785fd64a 100644
--- a/web/packages/new/photos/components/gallery/helpers.ts
+++ b/web/packages/new/photos/components/gallery/helpers.ts
@@ -49,7 +49,7 @@ export const createShareeSuggestionEmails = (
): string[] => {
const emails = collections
.map(({ owner, sharees }) => {
- if (owner.email && owner.id !== user.id) {
+ if (owner.email && owner.id != user.id) {
return [owner.email];
} else {
// Not sure about its nullability currently, revisit after auditing the
@@ -67,5 +67,5 @@ export const createShareeSuggestionEmails = (
emails.push(...family);
}
- return [...new Set(emails.filter((email) => email !== user.email))];
+ return [...new Set(emails.filter((email) => email != user.email))];
};