mirror of
https://github.com/chartdb/chartdb.git
synced 2025-11-03 13:33:25 +00:00
fix: remove error lag after autofix (#764)
This commit is contained in:
@@ -222,6 +222,7 @@ export const ImportDatabase: React.FC<ImportDatabaseProps> = ({
|
|||||||
if (sqlValidation?.fixedSQL) {
|
if (sqlValidation?.fixedSQL) {
|
||||||
setIsAutoFixing(true);
|
setIsAutoFixing(true);
|
||||||
setShowAutoFixButton(false);
|
setShowAutoFixButton(false);
|
||||||
|
setErrorMessage('');
|
||||||
|
|
||||||
// Apply the fix with a delay so user sees the fixing message
|
// Apply the fix with a delay so user sees the fixing message
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user