diff --git a/packages/suite/src/components/suite/banners/SuiteBanners/FirmwareRevisionCheckBanner.tsx b/packages/suite/src/components/suite/banners/SuiteBanners/FirmwareAuthenticityCheckBanner.tsx similarity index 97% rename from packages/suite/src/components/suite/banners/SuiteBanners/FirmwareRevisionCheckBanner.tsx rename to packages/suite/src/components/suite/banners/SuiteBanners/FirmwareAuthenticityCheckBanner.tsx index 40dde6b783b..be3c2fd3ae5 100644 --- a/packages/suite/src/components/suite/banners/SuiteBanners/FirmwareRevisionCheckBanner.tsx +++ b/packages/suite/src/components/suite/banners/SuiteBanners/FirmwareAuthenticityCheckBanner.tsx @@ -39,7 +39,7 @@ const useAuthenticityCheckMessage = (): TranslationKey | null => { return null; }; -export const FirmwareRevisionCheckBanner = () => { +export const FirmwareAuthenticityCheckBanner = () => { const firmwareRevisionError = useSelector(selectFirmwareRevisionCheckErrorIfEnabled); const wasOffline = firmwareRevisionError === 'cannot-perform-check-offline'; diff --git a/packages/suite/src/components/suite/banners/SuiteBanners/FirmwareHashMismatchBanner.tsx b/packages/suite/src/components/suite/banners/SuiteBanners/FirmwareHashMismatchOnLastUpdateBanner.tsx similarity index 77% rename from packages/suite/src/components/suite/banners/SuiteBanners/FirmwareHashMismatchBanner.tsx rename to packages/suite/src/components/suite/banners/SuiteBanners/FirmwareHashMismatchOnLastUpdateBanner.tsx index 66f1cf3712b..523edfbd0e7 100644 --- a/packages/suite/src/components/suite/banners/SuiteBanners/FirmwareHashMismatchBanner.tsx +++ b/packages/suite/src/components/suite/banners/SuiteBanners/FirmwareHashMismatchOnLastUpdateBanner.tsx @@ -2,7 +2,7 @@ import { Banner } from '@trezor/components'; import { Translation } from 'src/components/suite'; -export const FirmwareHashMismatch = () => ( +export const FirmwareHashMismatchOnLastUpdateBanner = () => ( diff --git a/packages/suite/src/components/suite/banners/SuiteBanners/SuiteBanners.tsx b/packages/suite/src/components/suite/banners/SuiteBanners/SuiteBanners.tsx index 7c8f2fe2b73..261ba8a5557 100644 --- a/packages/suite/src/components/suite/banners/SuiteBanners/SuiteBanners.tsx +++ b/packages/suite/src/components/suite/banners/SuiteBanners/SuiteBanners.tsx @@ -23,8 +23,8 @@ import { NoBackup } from './NoBackupBanner'; import { FailedBackup } from './FailedBackupBanner'; import { SafetyChecksBanner } from './SafetyChecksBanner'; import { TranslationMode } from './TranslationModeBanner'; -import { FirmwareHashMismatch } from './FirmwareHashMismatchBanner'; -import { FirmwareRevisionCheckBanner } from './FirmwareRevisionCheckBanner'; +import { FirmwareHashMismatchOnLastUpdateBanner } from './FirmwareHashMismatchOnLastUpdateBanner'; +import { FirmwareAuthenticityCheckBanner } from './FirmwareAuthenticityCheckBanner'; const Container = styled.div<{ $isVisible?: boolean }>` width: 100%; @@ -67,12 +67,12 @@ export const SuiteBanners = () => { let priority = 0; // this handles firmware hash being invalid after a firmware update, not the regular firmware hash check if (device?.id && firmwareHashInvalid.includes(device.id)) { - banner = ; + banner = ; priority = 92; } // the regular firmware hash check, and revision id check, either of them may fail else if (firmwareRevisionError || firmwareHashError) { - banner = ; + banner = ; priority = 91; } else if (device?.features?.unfinished_backup) { banner = ;