Fix linking screen lost connection retry button
This commit is contained in:
parent
fd187a353c
commit
6fa12e006e
1 changed files with 4 additions and 1 deletions
|
@ -282,7 +282,10 @@ export function SmartInstallScreen(): ReactElement {
|
|||
i18n,
|
||||
error: state.error,
|
||||
quit: () => window.IPC.shutdown(),
|
||||
tryAgain: () => setState(INITIAL_STATE),
|
||||
tryAgain: () => {
|
||||
setRetryCounter(count => count + 1);
|
||||
setState(INITIAL_STATE);
|
||||
},
|
||||
},
|
||||
};
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue