Skip to content

armgit / ente

Public Imported from GitHub
0

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

Fix lint

Neeraj Guptab38b3332c8a2
diff --git a/web/apps/photos/src/components/Collections/CollectionShare.tsx b/web/apps/photos/src/components/Collections/CollectionShare.tsx
index bc35e249b5..65c954b2b0 100644
--- a/web/apps/photos/src/components/Collections/CollectionShare.tsx
+++ b/web/apps/photos/src/components/Collections/CollectionShare.tsx
@@ -1817,9 +1817,7 @@ const ManagePublicShareOptions: React.FC<ManagePublicShareOptionsProps> = ({
void onRemotePull({ silent: true });
} catch (e) {
log.error("Could not update public link", e);
- if (
- await isMuseumHTTPError(e, 403, "LINK_EDIT_NOT_ALLOWED")
- ) {
+ if (await isMuseumHTTPError(e, 403, "LINK_EDIT_NOT_ALLOWED")) {
setErrorMessage(t("link_edit_disabled_for_free_accounts"));
} else {
setErrorMessage(t("generic_error"));