This commit is contained in:
Abi Raja 2024-08-30 13:19:24 +02:00
parent 6542289931
commit ce6a0622d0

View File

@ -147,9 +147,6 @@ function App() {
// Used when the user cancels the code generation
const cancelCodeGeneration = () => {
wsRef.current?.close?.(USER_CLOSE_WEB_SOCKET_CODE);
// make sure stop can correct the state even if the websocket is already closed
// TODO*: Look into this
// cancelCodeGenerationAndReset();
};
// Used for code generation failure as well