diff --git a/frontend/src/pages/task-attempt-compare.tsx b/frontend/src/pages/task-attempt-compare.tsx index 33b711a6..a409d389 100644 --- a/frontend/src/pages/task-attempt-compare.tsx +++ b/frontend/src/pages/task-attempt-compare.tsx @@ -110,8 +110,9 @@ export function TaskAttemptComparePage() { const result: ApiResponse = await response.json(); if (result.success) { setMergeSuccess(true); - // Optionally refetch the diff to show updated state + // Refetch both diff and branch status to show updated state fetchDiff(); + fetchBranchStatus(); } else { setError("Failed to merge changes"); }