Skip to content

Commit

Permalink
refactor: force return boolean isSIWESignatureRequest
Browse files Browse the repository at this point in the history
  • Loading branch information
digiwand committed Jun 20, 2024
1 parent c21feb2 commit f779176
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/pages/confirmations/utils/confirm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down

0 comments on commit f779176

Please sign in to comment.