From ce6a0622d0ba2840b54b674101c6346d02302371 Mon Sep 17 00:00:00 2001 From: Abi Raja Date: Fri, 30 Aug 2024 13:19:24 +0200 Subject: [PATCH] fix TODO --- frontend/src/App.tsx | 3 --- 1 file changed, 3 deletions(-) diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index c27be98..75ce17e 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