Switch array `args` to `arguments` on `execute` from `useTransaction`
berteotti opened this issue · comments
Leonardo Berteotti commented
It's easier to call this function as we were calling the original function.
Current implementation:
await execute([1,
{
value: ethers.utils.parseEther("0.05"),
}
])
Suggested implementation:
await execute(1,
{
value: ethers.utils.parseEther("0.05"),
}
)
Dhaiwat commented
Thanks, that's a great suggestion. I'll take care of this.
Leonardo Berteotti commented
Thanks, that's a great suggestion. I'll take care of this.
I would like to contribute. I can do it if you don't mind 😉
Dhaiwat commented
Oh of course, go ahead!