Skip to content

Commit f60d541

Browse files
fix: fix crash with diff files having the exact same content
1 parent a42dd20 commit f60d541

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/routes/[pullOrIssue=poi]/[org]/[repo]/[id=number]/PageRenderer.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@
386386
secondaryLabel="{files.length} file{files.length > 1 ? 's' : ''}"
387387
>
388388
<div class="flex flex-col gap-2">
389-
{#each files as file (file.sha)}
389+
{#each files as file (file.filename)}
390390
<div
391391
class="flex flex-col items-start justify-between xs:flex-row xs:items-center xs:gap-4"
392392
>

0 commit comments

Comments
 (0)