Skip to content

Commit

Permalink
fix: build
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeday committed Dec 12, 2024
1 parent d0c1667 commit 0463176
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions modules/web3/hooks/use-aa.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,13 +95,11 @@ export const useSendAACalls = () => {
});

const callId = await sendCallsAsync({
calls: calls
.filter((call) => !!call)
.map((call) => ({
to: call.to,
data: call.data,
value: call.value,
})),
calls: (calls.filter((call) => !!call) as AACall[]).map((call) => ({
to: call.to,
data: call.data,
value: call.value,
})),
});

await callback({
Expand Down

0 comments on commit 0463176

Please sign in to comment.