diff --git a/modules/web3/hooks/use-aa.ts b/modules/web3/hooks/use-aa.ts index df9bf68f..e238ff8f 100644 --- a/modules/web3/hooks/use-aa.ts +++ b/modules/web3/hooks/use-aa.ts @@ -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({