Skip to content

Commit

Permalink
Merge branch 'main' into @bruno/bump-prepare
Browse files Browse the repository at this point in the history
  • Loading branch information
brunobar79 authored May 6, 2024
2 parents f0e6d09 + 586aa46 commit 7defc0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/ethereum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export const normalizeTransactionResponsePayload = (
payload: TransactionResponse,
): TransactionResponse => {
// Firefox can't serialize functions
if (navigator.userAgent.toLowerCase().includes('firefox')) {
if (navigator.userAgent?.toLowerCase().includes('firefox')) {
// eslint-disable-next-line @typescript-eslint/no-unused-vars
const { wait: _, ...cleanedPayload } = payload;
return cleanedPayload as TransactionResponse;
Expand Down

0 comments on commit 7defc0c

Please sign in to comment.