1
0
mirror of https://github.com/pavlobu/deskreen.git synced 2025-05-21 01:40:12 -07:00

fix add new connection bug

This commit is contained in:
Pavlo Buidenkov 2022-06-01 01:28:59 +02:00
parent e99b01facc
commit ae5de8dc22

View File

@ -171,10 +171,7 @@ const DeskreenStepper = React.forwardRef((_props, ref) => {
const handleReset = useCallback(() => { const handleReset = useCallback(() => {
setActiveStep(0); setActiveStep(0);
setPendingConnectionDevice(null);
setIsUserAllowedConnection(false);
ipcRenderer.invoke(IpcEvents.ResetWaitingForConnectionSharingSession);
ipcRenderer.invoke(IpcEvents.CreateWaitingForConnectionSharingSession); ipcRenderer.invoke(IpcEvents.CreateWaitingForConnectionSharingSession);
}, []); }, []);