Disable check problems when autofix is not enabled (#563)

This commit is contained in:
Will Chen
2025-07-03 16:11:35 -07:00
committed by GitHub
parent 3fd41aa7be
commit 375d35b144
2 changed files with 9 additions and 2 deletions

View File

@@ -208,7 +208,9 @@ export function ChatInput({ chatId }: { chatId?: number }) {
setIsApproving(false);
setIsPreviewOpen(true);
refreshVersions();
checkProblems();
if (settings?.enableAutoFixProblems) {
checkProblems();
}
// Keep same as handleReject
refreshProposal();