show reset button when code generation fails
This commit is contained in:
parent
e983d2b727
commit
f66631425d
@ -55,6 +55,7 @@ export function generateCode(
|
||||
} else {
|
||||
console.error("WebSocket error code", event);
|
||||
toast.error(ERROR_MESSAGE);
|
||||
onComplete();
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user