From de32b5dc06819e184158470d08b6994e3dc92d53 Mon Sep 17 00:00:00 2001 From: Seongmin Lee Date: Mon, 27 Jul 2026 08:54:02 +0000 Subject: [PATCH] web: remove `rkey` and `knot` fields from `RepoCardData` We don't need both in most of the cases. Signed-off-by: Seongmin Lee --- web/src/lib/components/profile/types.ts | 2 -- web/src/lib/components/profile/tabs/OverviewTab.svelte | 2 +- web/src/lib/components/profile/tabs/RepoListTab.svelte | 2 +- 3 file(s) changed, 2 insertion(s)(+), 4 deletion(s)(-) diff --git a/web/src/lib/components/profile/types.ts b/web/src/lib/components/profile/types.ts --- a/web/src/lib/components/profile/types.ts +++ b/web/src/lib/components/profile/types.ts @@ -10,12 +10,10 @@ } export interface RepoCardData { - rkey: string; name: string; repoDid: string; ownerHandle: string; description?: string; - knot: string; createdAt: string; language?: string; stars?: number; diff --git a/web/src/lib/components/profile/tabs/OverviewTab.svelte b/web/src/lib/components/profile/tabs/OverviewTab.svelte --- a/web/src/lib/components/profile/tabs/OverviewTab.svelte +++ b/web/src/lib/components/profile/tabs/OverviewTab.svelte @@ -18,7 +18,7 @@ empty={pinned.length === 0} emptyMessage="No pinned repositories." > - {#each pinned as repo (repo.rkey)} + {#each pinned as repo (repo.repoDid)} {/each} diff --git a/web/src/lib/components/profile/tabs/RepoListTab.svelte b/web/src/lib/components/profile/tabs/RepoListTab.svelte --- a/web/src/lib/components/profile/tabs/RepoListTab.svelte +++ b/web/src/lib/components/profile/tabs/RepoListTab.svelte @@ -43,7 +43,7 @@ {/snippet} - {#each repos as repo (repo.rkey)} + {#each repos as repo (repo.repoDid)} {/each} -- tangled.sh