Skip to content

feat(suite): simplify DeviceCompromised checklist #16675

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 29, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading