Hey is a decentralized and permissionless social media app built with Lens Protocol 🌿

fix: add early return in makeParams function of Trade component for improved validation of amount input

yoginth.com e29d0f73 fcc743ac

verified
+1
+1
apps/web/src/components/Account/CreatorCoin/Trade.tsx
··· 90 90 91 91 const makeParams = (address: Address): TradeParameters | null => { 92 92 if (!amount || Number(amount) <= 0) return null; 93 + 93 94 if (mode === "buy") { 94 95 return { 95 96 amountIn: parseEther(amount),