fix: remove error lag after autofix (#764)

This commit is contained in:
Guy Ben-Aharon
2025-07-14 21:27:05 +03:00
committed by GitHub
parent 5d337409d6
commit bf32c08d37

View File

@@ -222,6 +222,7 @@ export const ImportDatabase: React.FC<ImportDatabaseProps> = ({
if (sqlValidation?.fixedSQL) {
setIsAutoFixing(true);
setShowAutoFixButton(false);
setErrorMessage('');
// Apply the fix with a delay so user sees the fixing message
setTimeout(() => {