Sir/Mam, I was making the Amazon clone dapp by watching your youtube video, but I got stuck in a set of code
//Send Matic to book store owner’s address
const options1={
type:“native”,
amount:Moralis.Units.ETH(priceMatic),
receiver:“0xc9C601233C1d2B6ddAa1a2F3dc66be3c36ef4”
}
let result = await Moralis.transfer(options1)
here the error is
WARNING in src/components/Purchase.js
Line 31:7: ‘result’ is assigned a value but never used no-unused-vars
4 warnings have detailed information that is not shown.
Use ‘stats.errorDetails: true’ resp. ‘–stats-error-details’ to show it.