chore: rm comments for handleClose

This commit is contained in:
RohitR311
2024-11-22 23:48:56 +05:30
parent 714c77e0c4
commit 42746ec3ed

View File

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