@@ -358,66 +358,23 @@ const DfuWindowsDriverInstallDialog: React.VoidFunctionComponent = () => {
358358 className = "pb-dfu-windows-driver-install-dialog"
359359 isOpen = { isOpen }
360360 onClose = { ( ) => dispatch ( firmwareDfuWindowsDriverInstallDialogDialogHide ( ) ) }
361+ backButtonProps = { { text : i18n . translate ( 'backButton.label' ) } }
362+ nextButtonProps = { { text : i18n . translate ( 'nextButton.label' ) } }
361363 finalButtonProps = { {
362364 text : i18n . translate ( 'doneButton.label' ) ,
363365 onClick : ( ) =>
364366 dispatch ( firmwareDfuWindowsDriverInstallDialogDialogHide ( ) ) ,
365367 } }
366368 >
367- < DialogStep
368- id = "1"
369- panel = { < Step1 /> }
370- backButtonProps = { { text : i18n . translate ( 'backButton.label' ) } }
371- nextButtonProps = { { text : i18n . translate ( 'nextButton.label' ) } }
372- />
373- < DialogStep
374- id = "2"
375- panel = { < Step2 hub = { hub } /> }
376- backButtonProps = { { text : i18n . translate ( 'backButton.label' ) } }
377- nextButtonProps = { { text : i18n . translate ( 'nextButton.label' ) } }
378- />
379- < DialogStep
380- id = "3"
381- panel = { < Step3 hub = { hub } /> }
382- backButtonProps = { { text : i18n . translate ( 'backButton.label' ) } }
383- nextButtonProps = { { text : i18n . translate ( 'nextButton.label' ) } }
384- />
385- < DialogStep
386- id = "4"
387- panel = { < Step4 hub = { hub } /> }
388- backButtonProps = { { text : i18n . translate ( 'backButton.label' ) } }
389- nextButtonProps = { { text : i18n . translate ( 'nextButton.label' ) } }
390- />
391- < DialogStep
392- id = "5"
393- panel = { < Step5 hub = { hub } /> }
394- backButtonProps = { { text : i18n . translate ( 'backButton.label' ) } }
395- nextButtonProps = { { text : i18n . translate ( 'nextButton.label' ) } }
396- />
397- < DialogStep
398- id = "6"
399- panel = { < Step6 hub = { hub } /> }
400- backButtonProps = { { text : i18n . translate ( 'backButton.label' ) } }
401- nextButtonProps = { { text : i18n . translate ( 'nextButton.label' ) } }
402- />
403- < DialogStep
404- id = "7"
405- panel = { < Step7 hub = { hub } /> }
406- backButtonProps = { { text : i18n . translate ( 'backButton.label' ) } }
407- nextButtonProps = { { text : i18n . translate ( 'nextButton.label' ) } }
408- />
409- < DialogStep
410- id = "8"
411- panel = { < Step8 /> }
412- backButtonProps = { { text : i18n . translate ( 'backButton.label' ) } }
413- nextButtonProps = { { text : i18n . translate ( 'nextButton.label' ) } }
414- />
415- < DialogStep
416- id = "9"
417- panel = { < Step9 hub = { hub } /> }
418- backButtonProps = { { text : i18n . translate ( 'backButton.label' ) } }
419- nextButtonProps = { { text : i18n . translate ( 'nextButton.label' ) } }
420- />
369+ < DialogStep id = "1" panel = { < Step1 /> } />
370+ < DialogStep id = "2" panel = { < Step2 hub = { hub } /> } />
371+ < DialogStep id = "3" panel = { < Step3 hub = { hub } /> } />
372+ < DialogStep id = "4" panel = { < Step4 hub = { hub } /> } />
373+ < DialogStep id = "5" panel = { < Step5 hub = { hub } /> } />
374+ < DialogStep id = "6" panel = { < Step6 hub = { hub } /> } />
375+ < DialogStep id = "7" panel = { < Step7 hub = { hub } /> } />
376+ < DialogStep id = "8" panel = { < Step8 /> } />
377+ < DialogStep id = "9" panel = { < Step9 hub = { hub } /> } />
421378 </ MultistepDialog >
422379 ) ;
423380} ;
0 commit comments