Skip to content

armgit / ente

Public Imported from GitHub
0

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

fix(gallery):merge-duplication

Aswin Asokb02fc5751d39
diff --git a/web/apps/photos/src/pages/gallery.tsx b/web/apps/photos/src/pages/gallery.tsx
index d9e179e7e1..1fbfbf1870 100644
--- a/web/apps/photos/src/pages/gallery.tsx
+++ b/web/apps/photos/src/pages/gallery.tsx
@@ -822,12 +822,11 @@ const Page: React.FC = () => {
}
if (!(await masterKeyFromSession())) {
clearSessionStorage();
- router.push("/credentials");
+ void router.push("/credentials");
if (strict)
throw new Error(
"Remote pull failed: missing master key",
);
- void router.push("/credentials");
return;
}