From ae5de8dc22a2074cea5e3edc4a3f69bea6e78bff Mon Sep 17 00:00:00 2001 From: Pavlo Buidenkov Date: Wed, 1 Jun 2022 01:28:59 +0200 Subject: [PATCH] fix add new connection bug --- app/containers/DeskreenStepper.tsx | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/containers/DeskreenStepper.tsx b/app/containers/DeskreenStepper.tsx index e88a673..b0d3f1d 100644 --- a/app/containers/DeskreenStepper.tsx +++ b/app/containers/DeskreenStepper.tsx @@ -171,10 +171,7 @@ const DeskreenStepper = React.forwardRef((_props, ref) => { const handleReset = useCallback(() => { setActiveStep(0); - setPendingConnectionDevice(null); - setIsUserAllowedConnection(false); - ipcRenderer.invoke(IpcEvents.ResetWaitingForConnectionSharingSession); ipcRenderer.invoke(IpcEvents.CreateWaitingForConnectionSharingSession); }, []);