Skip to content

Commit

Permalink
feat(suite): simplify DeviceCompromised checklist
Browse files Browse the repository at this point in the history
  • Loading branch information
Lemonexe committed Jan 29, 2025
1 parent c35a481 commit 3a6d0c1
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const useSecurityCheckFailProps = (): Partial<SecurityCheckFailProps> => {
const revisionCheckError = useSelector(selectFirmwareRevisionCheckErrorIfEnabled);
const hashCheckError = useSelector(selectFirmwareHashCheckErrorIfEnabled);

// revision check has precedence over hash check, because it is unimpeachable
// revision check has precedence over hash check, because it does not have the ambiguous other-error state
if (revisionCheckError !== null) {
return {
heading: 'TR_DEVICE_COMPROMISED_HEADING',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ const IconBackground = styled.div`
`;

export const hardFailureChecklistItems: SecurityChecklistItem[] = [
{
icon: <Icon size={24} variant="default" name="plugs" />,
content: <Translation id="TR_DISCONNECT_DEVICE" />,
},
{
icon: <Icon size={24} variant="default" name="hand" />,
content: <Translation id="TR_AVOID_USING_DEVICE" />,
Expand Down
4 changes: 0 additions & 4 deletions packages/suite/src/support/messages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6864,10 +6864,6 @@ export default defineMessages({
defaultMessage:
'We want to be sure that your device is in tip-top shape before you start using it. Reach out to Trezor Support to find out what to do next.',
},
TR_DISCONNECT_DEVICE: {
id: 'TR_DISCONNECT_DEVICE',
defaultMessage: 'Disconnect your device from your laptop or computer.',
},
TR_AVOID_USING_DEVICE: {
id: 'TR_AVOID_USING_DEVICE',
defaultMessage: 'Avoid using this device or sending any funds to it.',
Expand Down

0 comments on commit 3a6d0c1

Please sign in to comment.