+1
-1
lib/components/TangledRepo.tsx
+1
-1
lib/components/TangledRepo.tsx
+2
-2
lib/renderers/TangledRepoRenderer.tsx
+2
-2
lib/renderers/TangledRepoRenderer.tsx
···
90
);
91
if (loading && !record) return <div role="status" aria-live="polite" style={{ padding: 8 }}>Loading…</div>;
92
93
-
// Construct the canonical URL: tangled.org/@[did]/[repo-name]
94
const viewUrl =
95
canonicalUrl ??
96
-
`${tangledBaseUrl}/@${did}/${encodeURIComponent(record.name)}`;
97
98
const tangledIcon = (
99
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 25 25" style={{ display: "block" }}>
···
90
);
91
if (loading && !record) return <div role="status" aria-live="polite" style={{ padding: 8 }}>Loading…</div>;
92
93
+
// Construct the canonical URL: tangled.org/[did]/[repo-name]
94
const viewUrl =
95
canonicalUrl ??
96
+
`${tangledBaseUrl}/${did}/${encodeURIComponent(record.name)}`;
97
98
const tangledIcon = (
99
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 25 25" style={{ display: "block" }}>