diff --git a/src/App.tsx b/src/App.tsx index 63cd590..474a364 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -40,11 +40,10 @@ function Addresses(props: AddressesProps) { } var num; - if (isNan(numTokens) || numTokens < 0) { + if (isNaN(numTokens) || numTokens < 0) { num = 0; } else { num = numTokens; - } return ( @@ -82,6 +81,10 @@ function AddressList({addressList}: AddressListProps) { function App() { const [addressList, setAddressList] = useState([]); + async function performAirdrop() { + console.log("Performing airdrop"); + } + return (
Add an address to airdrop to: