chore: cleanup

This commit is contained in:
amhsirak
2025-01-26 23:51:45 +05:30
parent b509e40dce
commit 7be0c2accf

View File

@@ -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 (