Skip to content

Commit 92fd1ec

Browse files
committed
fix: view at this point repo bug
1 parent 9b56d3e commit 92fd1ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/gitness/src/components-v2/file-content-viewer.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ export default function FileContentViewer({ repoContent }: FileContentViewerProp
180180
toCommitDetails={({ sha }: { sha: string }) =>
181181
routes.toRepoCommitDetails({ spaceId, repoId, commitSHA: sha })
182182
}
183-
toCode={({ sha }: { sha: string }) => routes.toRepoFiles({ spaceId, repoId, commitSHA: sha })}
183+
toCode={({ sha }: { sha: string }) => `${routes.toRepoFiles({ spaceId, repoId })}/${sha}`}
184184
data={commitData?.commits?.map((item: TypesCommit) => ({
185185
sha: item.sha,
186186
parent_shas: item.parent_shas,

0 commit comments

Comments
 (0)