chore: rm comments for handleClose

This commit is contained in:
RohitR311
2024-11-22 23:49:15 +05:30
parent 42746ec3ed
commit c93953a7ad

View File

@@ -116,7 +116,7 @@ export const RobotEditModal = ({ isOpen, handleStart, handleClose, initialSettin
if (success) {
notify('success', 'Robot updated successfully.');
handleStart(robot); // Inform parent about the updated robot
handleClose(); // Close the modal
handleClose();
setTimeout(() => {
window.location.reload();