Closed kihiuFrank closed 1 year ago
I need help ensuring a person cannot donate anything <=0 in the snippet below from CampaignDetails.jsx.
CampaignDetails.jsx
<input type="number" placeholder="ETH 0.1" step="0.01" className="w-full py-[10px] sm:px-[20px] px-[15px] outline-none border-[1px] border-[#3a3a43] bg-transparent font-epilogue text-white text-[18px] leading-[30px] placeholder:text-[#4b5264] rounded-[10px]" value={amount } onChange={(e) => setAmount(e.target.value)} />
I also need arrow pointing downwards to deactivate once a user hits zero.
I need help ensuring a person cannot donate anything <=0 in the snippet below from
CampaignDetails.jsx
.I also need arrow pointing downwards to deactivate once a user hits zero.