fix: handle multi-file tool diffs safely

Split multi-file patches before diff rendering
Fixed hook dependency lint warnings
This commit is contained in:
Bohdan Triapitsyn
2026-04-26 16:58:07 +03:00
parent 8f3707a5f4
commit 209ffc16e4
22 changed files with 116 additions and 57 deletions
@@ -126,7 +126,7 @@ export function GitHubPrPickerDialog({
} finally {
setIsLoading(false);
}
}, [github, githubAuthChecked, githubAuthStatus, projectDirectory]);
}, [github, githubAuthChecked, githubAuthStatus, projectDirectory, t]);
const loadMore = React.useCallback(async () => {
if (!projectDirectory) return;