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:
parent
e99b01facc
commit
ae5de8dc22
@ -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);
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user