Commit ad8df29f by Arjun Jhukal

udpated the minor changes

parent ec49ff8f
...@@ -155,10 +155,10 @@ export default function WithdrawlPage({ ...@@ -155,10 +155,10 @@ export default function WithdrawlPage({
}; };
const handleWithdrawClick = (balance: number, provider: string) => { const handleWithdrawClick = (balance: number, provider: string) => {
if (balance < 40) { if (balance < 40 || balance > 400) {
dispatch( dispatch(
showToast({ showToast({
message: "Withdraw Amount must be at least $40", message: "Withdraw Amount must be at least $40 and below $400",
variant: ToastVariant.ERROR, variant: ToastVariant.ERROR,
}) })
); );
......
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