From 7be0c2accfa2edae1d7895fd1a0bde8dd8aab78e Mon Sep 17 00:00:00 2001 From: amhsirak Date: Sun, 26 Jan 2025 23:51:45 +0530 Subject: [PATCH] chore: cleanup --- src/components/run/RunSettings.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/components/run/RunSettings.tsx b/src/components/run/RunSettings.tsx index 3da0bab8..98cd5720 100644 --- a/src/components/run/RunSettings.tsx +++ b/src/components/run/RunSettings.tsx @@ -30,13 +30,12 @@ export const RunSettingsModal = ({ isOpen, handleStart, handleClose, isTask, par const [showInterpreterSettings, setShowInterpreterSettings] = useState(false); const startImmediately = () => { - handleStart(settings); // Start functionality directly + handleStart(settings); }; - // Start directly without opening the modal if (!showInterpreterSettings) { startImmediately(); - return null; // Do not render the modal + return null; } return (