From 42746ec3ed2754216ab7ebf2513b9f93a3f2bea4 Mon Sep 17 00:00:00 2001 From: RohitR311 Date: Fri, 22 Nov 2024 23:48:56 +0530 Subject: [PATCH] chore: rm comments for handleClose --- src/components/molecules/RobotDuplicate.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/molecules/RobotDuplicate.tsx b/src/components/molecules/RobotDuplicate.tsx index 8029d7dd..850614b0 100644 --- a/src/components/molecules/RobotDuplicate.tsx +++ b/src/components/molecules/RobotDuplicate.tsx @@ -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();