Skip to content

armgit / ente

Public Imported from GitHub
0

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

Fix formatting lints

Manav Rathid98394272e7e
diff --git a/web/apps/photos/src/components/PhotoFrame.tsx b/web/apps/photos/src/components/PhotoFrame.tsx
index c1e5460f4d..582af17667 100644
--- a/web/apps/photos/src/components/PhotoFrame.tsx
+++ b/web/apps/photos/src/components/PhotoFrame.tsx
@@ -287,11 +287,14 @@ const PhotoFrame = ({
: undefined;
}, [favoriteFileIDs, onMarkUnsyncedFavoriteUpdate]);
- const handleDownload = useCallback((file: EnteFile) => {
- const setSingleFileDownloadProgress =
- setFilesDownloadProgressAttributesCreator!(file.metadata.title);
- void downloadSingleFile(file, setSingleFileDownloadProgress);
- }, [setFilesDownloadProgressAttributesCreator]);
+ const handleDownload = useCallback(
+ (file: EnteFile) => {
+ const setSingleFileDownloadProgress =
+ setFilesDownloadProgressAttributesCreator!(file.metadata.title);
+ void downloadSingleFile(file, setSingleFileDownloadProgress);
+ },
+ [setFilesDownloadProgressAttributesCreator],
+ );
const handleDelete = useMemo(() => {
return onMarkTempDeleted
diff --git a/web/apps/photos/src/pages/gallery.tsx b/web/apps/photos/src/pages/gallery.tsx
index b57b6e312c..d4926fd54d 100644
--- a/web/apps/photos/src/pages/gallery.tsx
+++ b/web/apps/photos/src/pages/gallery.tsx
@@ -1072,10 +1072,10 @@ const Page: React.FC = () => {
files.length < 30 && !isInSearchMode
}
isInIncomingSharedCollection={
- collectionSummaries.get(activeCollectionID)
- ?.type == "incomingShareCollaborator" ||
- collectionSummaries.get(activeCollectionID)
- ?.type == "incomingShareViewer"
+ collectionSummaries.get(activeCollectionID)?.type ==
+ "incomingShareCollaborator" ||
+ collectionSummaries.get(activeCollectionID)?.type ==
+ "incomingShareViewer"
}
isInHiddenSection={barMode == "hidden-albums"}
setFilesDownloadProgressAttributesCreator={
diff --git a/web/packages/base/components/utils/theme.ts b/web/packages/base/components/utils/theme.ts
index 5c6859dd7d..99cb3d86e8 100644
--- a/web/packages/base/components/utils/theme.ts
+++ b/web/packages/base/components/utils/theme.ts
@@ -123,7 +123,7 @@ const getColors = (appName: AppName) => ({
dark: {
background: _colors.dark.background,
text: _colors.dark.text,
- divider: _colors.dark.stroke.faint
+ divider: _colors.dark.stroke.faint,
},
},
},