Commit 8958250d by Arjun Jhukal

made photoid nullable

parent 1498ba53
...@@ -96,6 +96,7 @@ export default function WithdrawlModal({ ...@@ -96,6 +96,7 @@ export default function WithdrawlModal({
</GlassWrapper> </GlassWrapper>
</div> </div>
</div> </div>
{formik.values.type === "tryspeed" ?
<div className="relative"> <div className="relative">
<InputLabel htmlFor="photoid_number" className="text-start">Photo ID <span className="text-red-500">*</span></InputLabel> <InputLabel htmlFor="photoid_number" className="text-start">Photo ID <span className="text-red-500">*</span></InputLabel>
<OutlinedInput <OutlinedInput
...@@ -110,7 +111,7 @@ export default function WithdrawlModal({ ...@@ -110,7 +111,7 @@ export default function WithdrawlModal({
formik.touched.photoid_number && formik.errors.photoid_number ? formik.touched.photoid_number && formik.errors.photoid_number ?
<span className="error text-start">{formik.errors.photoid_number || ""}</span> : null <span className="error text-start">{formik.errors.photoid_number || ""}</span> : null
} }
</div> </div> : ""}
<div className="relative"> <div className="relative">
<InputLabel htmlFor="wallet_address" className="text-start"> {formik.values.type === "masspay" ? "Wallet Address" : "Lightining Address"}<span className="text-red-500">*</span></InputLabel> <InputLabel htmlFor="wallet_address" className="text-start"> {formik.values.type === "masspay" ? "Wallet Address" : "Lightining Address"}<span className="text-red-500">*</span></InputLabel>
<div className="relative"> <div className="relative">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment