diff --git a/ui/pages/confirmations/utils/confirm.ts b/ui/pages/confirmations/utils/confirm.ts index 2231f8856bd4..74e2a3e0cc60 100644 --- a/ui/pages/confirmations/utils/confirm.ts +++ b/ui/pages/confirmations/utils/confirm.ts @@ -46,7 +46,7 @@ export const parseSanitizeTypedDataMessage = (dataToParse: string) => { }; export const isSIWESignatureRequest = (request: SignatureRequestType) => - request?.msgParams?.siwe?.isSIWEMessage; + Boolean(request?.msgParams?.siwe?.isSIWEMessage); export const isPermitSignatureRequest = (request: SignatureRequestType) => { if (