Show error state when QR code times out loading

This commit is contained in:
Josh Perez 2023-05-10 17:36:45 -04:00 committed by GitHub
parent 48545d6a83
commit b34ea60d34
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 107 additions and 22 deletions

View file

@ -56,6 +56,7 @@ function Simulation({ finalResult }: { finalResult: Loadable<string> }) {
OS="macOS"
startUpdate={action('startUpdate')}
currentVersion="v6.0.0"
retryGetQrCode={action('retryGetQrCode')}
/>
);
}
@ -71,6 +72,7 @@ export function QrCodeLoading(): JSX.Element {
OS="macOS"
startUpdate={action('startUpdate')}
currentVersion="v6.0.0"
retryGetQrCode={action('retryGetQrCode')}
/>
);
}
@ -91,6 +93,7 @@ export function QrCodeFailedToLoad(): JSX.Element {
OS="macOS"
startUpdate={action('startUpdate')}
currentVersion="v6.0.0"
retryGetQrCode={action('retryGetQrCode')}
/>
);
}
@ -108,6 +111,7 @@ export function QrCodeLoaded(): JSX.Element {
OS="macOS"
startUpdate={action('startUpdate')}
currentVersion="v6.0.0"
retryGetQrCode={action('retryGetQrCode')}
/>
);
}
@ -158,6 +162,7 @@ export function WithUpdateKnobs({
OS="macOS"
startUpdate={action('startUpdate')}
currentVersion={currentVersion}
retryGetQrCode={action('retryGetQrCode')}
/>
);
}