Skip to content

Commit 1a76d16

Browse files
committed
fix: infinite git list refresh
1 parent 14554bf commit 1a76d16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/src/components/git-commit-list.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export function GitCommitList({selectedFile, selectedCommit, chooseCommit}: Comm
4848
setCommits(val?.commits ?? []);
4949
}
5050
setLoading(false);
51-
}, [gitClient, selectedFile, showError]);
51+
}, [gitClient, selectedFile]);
5252

5353
// Fetch commits when the component mounts or the selected file changes
5454
useEffect(() => {

0 commit comments

Comments
 (0)