Hi friends,
I followed the exact same steps:
Docs: Creating a Fuel dApp
This is the error
Unhandled Runtime Error
FuelError: not enough coins to fit the target
Source
src/pages/index.tsx (53:23) @ async onIncrementPressed
51 | }
52 |
> 53 | const { value } = await contract.functions.increment_counter(bn(1)).call();
| ^
54 | setCounter(value.toNumber());
55 |
56 | await refreshWalletBalance?.();