Skip to content

armgit / ente

Public Imported from GitHub
0

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

[web][photos] Remove added public link comments

AswinAsok3baac8ffae1c
diff --git a/web/apps/photos/src/components/gallery/PublicLinkDetails.tsx b/web/apps/photos/src/components/gallery/PublicLinkDetails.tsx
index a892254858..2e3156229e 100644
--- a/web/apps/photos/src/components/gallery/PublicLinkDetails.tsx
+++ b/web/apps/photos/src/components/gallery/PublicLinkDetails.tsx
@@ -29,7 +29,6 @@ export const PublicLinkDetails = ({
coverFile,
}: PublicLinkDetailsProps) => {
const { customDomain } = useSettingsSnapshot();
- // Links navigation only contains the user's own quick links.
const { resolvedURL, isLoading, error } = usePublicLinkURL(
collection,
collection.publicURLs[0],
diff --git a/web/apps/photos/src/components/utils/use-public-link-url.ts b/web/apps/photos/src/components/utils/use-public-link-url.ts
index 950ebaecf5..274802877d 100644
--- a/web/apps/photos/src/components/utils/use-public-link-url.ts
+++ b/web/apps/photos/src/components/utils/use-public-link-url.ts
@@ -2,7 +2,6 @@ import { appendCollectionKeyToShareURL } from "ente-gallery/services/share";
import type { Collection, PublicURL } from "ente-media/collection";
import { useEffect, useMemo, useState } from "react";
-/** Resolve a share URL without exposing a previous selection's URL while loading. */
export const usePublicLinkURL = (
collection: Pick<Collection, "id" | "key">,
publicURL: PublicURL | undefined,