diff --git a/src/firmware/bootloaderInstructions/BootloaderInstructions.tsx b/src/firmware/bootloaderInstructions/BootloaderInstructions.tsx index b89c08a2..f6175288 100644 --- a/src/firmware/bootloaderInstructions/BootloaderInstructions.tsx +++ b/src/firmware/bootloaderInstructions/BootloaderInstructions.tsx @@ -102,7 +102,7 @@ const BootloaderInstructions: React.VoidFunctionComponent< > = ({ hubType, recovery, flashButtonText }) => { const i18n = useI18n(); - const { button, light, lightPattern, flashButton } = useMemo(() => { + const { button, light, lightPattern } = useMemo(() => { return { button: i18n.translate( hubHasBluetoothButton(hubType) ? 'button.bluetooth' : 'button.power', @@ -115,7 +115,6 @@ const BootloaderInstructions: React.VoidFunctionComponent< ? 'lightPattern.bluetooth' : 'lightPattern.status', ), - flashButton: flashButtonText, }; }, [i18n, hubType]); @@ -325,7 +324,7 @@ const BootloaderInstructions: React.VoidFunctionComponent<
  1. {i18n.translate('connect.clickConnectAndFlash', { - flashButton: {flashButton}, + flashButton: {flashButtonText}, })}