fix(ui): drop unused nestedRepoSelection binding and stale review-flow dependency

This commit is contained in:
jaygupta17
2026-08-25 21:09:39 +05:30
parent 11a48958e8
commit 72c1d28fc6
2 changed files with 2 additions and 2 deletions
@@ -1678,7 +1678,7 @@ export const DiffView: React.FC<DiffViewProps> = ({
} finally {
setReviewFlowSubmitting(false);
}
}, [currentSessionId, effectiveDirectory, t]);
}, [currentSessionId, rootDirectory, t]);
const scrollToFile = React.useCallback((path: string): boolean => {
const node = fileSectionRefs.current.get(path);
+1 -1
View File
@@ -257,7 +257,7 @@ export const GitView: React.FC<GitViewProps> = ({ isActive }) => {
// one, `gitDirectory` is the effective repository all git data and actions
// operate on. The hook owns probing, discovery, auto-select, and
// stale-selection recovery; data fetching below keys off its result.
const { rootIsGitRepo, gitDirectory, nestedRepos, nestedRepoSelection } = useNestedGitDirectory(
const { rootIsGitRepo, gitDirectory, nestedRepos } = useNestedGitDirectory(
currentDirectory ?? null,
{ enabled: isActive },
);