We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 245c41b + 623bac0 commit 2f8d51bCopy full SHA for 2f8d51b
src/launcher/features/jlinkUpdate/JLinkUpdateProgressDialog.tsx
@@ -26,7 +26,7 @@ export default () => {
26
const isVisible = useLauncherSelector(isJLinkUpdateProgressDialogVisible);
27
const progress = useLauncherSelector(getJLinkUpdateProgress);
28
const finished =
29
- progress && progress.step === 'install' && progress.percentage === 100;
+ progress?.step === 'install' && progress.percentage === 100;
30
31
return (
32
<GenericDialog
@@ -35,7 +35,6 @@ export default () => {
35
isJLinkInstalled ? 'Updating' : 'Installing'
36
} SEGGER J-Link`}
37
showSpinner={!finished}
38
- onHide={() => dispatch(continueUpdateProcess())}
39
footer={
40
<DialogButton
41
onClick={() => {
0 commit comments