Skip to content

Drop in a screenshot and convert it to clean code (HTML/Tailwind/React/Vue)

Python

fix TODO

Abi Rajace6a0622d0ba
diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx
index c27be987..75ce17ee 100644
--- a/frontend/src/App.tsx
+++ b/frontend/src/App.tsx
@@ -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