Fix linking screen lost connection retry button

This commit is contained in:
ayumi-signal
2024-01-26 16:56:58 -08:00
committed by GitHub
parent fd187a353c
commit 6fa12e006e

View File

@@ -282,7 +282,10 @@ export function SmartInstallScreen(): ReactElement {
i18n, i18n,
error: state.error, error: state.error,
quit: () => window.IPC.shutdown(), quit: () => window.IPC.shutdown(),
tryAgain: () => setState(INITIAL_STATE), tryAgain: () => {
setRetryCounter(count => count + 1);
setState(INITIAL_STATE);
},
}, },
}; };
break; break;