From 2b6c46db898b68fa39afeddb22863b2a204715a0 Mon Sep 17 00:00:00 2001 From: Noah Gundotra Date: Fri, 20 Dec 2024 09:26:19 -0500 Subject: [PATCH] add commit hash to repo url when available --- app/utils/verified-builds.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/app/utils/verified-builds.tsx b/app/utils/verified-builds.tsx index f18dbfd2..de4dc738 100644 --- a/app/utils/verified-builds.tsx +++ b/app/utils/verified-builds.tsx @@ -192,6 +192,7 @@ function useEnrichedOsecInfo({ verify_command: '', }; enrichedOsecInfo.repo_url = pdaData.gitUrl; + enrichedOsecInfo.repo_url += pdaData.commit.length ? '/tree/' + pdaData.commit : ''; if (pdaData) { // Create command from the args of the verified build PDA enrichedOsecInfo.verify_command = coalesceCommandFromPda(programId, pdaData);