From a7d3e897ccfed1dc3a97d53dfb2d285938a06ee1 Mon Sep 17 00:00:00 2001 From: Silberengel Date: Wed, 18 Feb 2026 19:05:23 +0100 Subject: [PATCH] fix branch display --- src/routes/repos/[npub]/[repo]/+page.svelte | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/routes/repos/[npub]/[repo]/+page.svelte b/src/routes/repos/[npub]/[repo]/+page.svelte index fe6e68b..addcd89 100644 --- a/src/routes/repos/[npub]/[repo]/+page.svelte +++ b/src/routes/repos/[npub]/[repo]/+page.svelte @@ -51,7 +51,7 @@ let editedContent = $state(''); let hasChanges = $state(false); let saving = $state(false); - let branches = $state([]); + let branches = $state>([]); let currentBranch = $state('main'); let commitMessage = $state(''); let userPubkey = $state(null); @@ -2353,7 +2353,8 @@ {#if branches.length > 0} {/if} @@ -3176,7 +3177,8 @@ From Branch: