Commit f947942b by Arjun Jhukal

updated the error message

parent a33bf789
......@@ -21,31 +21,31 @@ export default function FireIcon() {
<stop offset="1" stopColor="#FF4565" />
</linearGradient>
<linearGradient id="paint1_linear_5356_8258" x1="14.255" y1="17.4797" x2="17.7637" y2="21.7235" gradientUnits="userSpaceOnUse">
<stop stopColor="#FE0364" stop-opacity="0" />
<stop offset="0.2343" stopColor="#F90362" stop-opacity="0.234" />
<stop offset="0.5173" stopColor="#EA035B" stop-opacity="0.517" />
<stop offset="0.8243" stopColor="#D20250" stop-opacity="0.824" />
<stop stopColor="#FE0364" stopOpacity="0" />
<stop offset="0.2343" stopColor="#F90362" stopOpacity="0.234" />
<stop offset="0.5173" stopColor="#EA035B" stopOpacity="0.517" />
<stop offset="0.8243" stopColor="#D20250" stopOpacity="0.824" />
<stop offset="1" stopColor="#C00148" />
</linearGradient>
<linearGradient id="paint2_linear_5356_8258" x1="11.682" y1="17.3091" x2="11.0472" y2="24.1928" gradientUnits="userSpaceOnUse">
<stop stopColor="#FE0364" stop-opacity="0" />
<stop offset="0.2343" stopColor="#F90362" stop-opacity="0.234" />
<stop offset="0.5173" stopColor="#EA035B" stop-opacity="0.517" />
<stop offset="0.8243" stopColor="#D20250" stop-opacity="0.824" />
<stop stopColor="#FE0364" stopOpacity="0" />
<stop offset="0.2343" stopColor="#F90362" stopOpacity="0.234" />
<stop offset="0.5173" stopColor="#EA035B" stopOpacity="0.517" />
<stop offset="0.8243" stopColor="#D20250" stopOpacity="0.824" />
<stop offset="1" stopColor="#C00148" />
</linearGradient>
<linearGradient id="paint3_linear_5356_8258" x1="14.4838" y1="10.8464" x2="20.766" y2="7.97263" gradientUnits="userSpaceOnUse">
<stop stopColor="#FE0364" stop-opacity="0" />
<stop offset="0.2343" stopColor="#F90362" stop-opacity="0.234" />
<stop offset="0.5173" stopColor="#EA035B" stop-opacity="0.517" />
<stop offset="0.8243" stopColor="#D20250" stop-opacity="0.824" />
<stop stopColor="#FE0364" stopOpacity="0" />
<stop offset="0.2343" stopColor="#F90362" stopOpacity="0.234" />
<stop offset="0.5173" stopColor="#EA035B" stopOpacity="0.517" />
<stop offset="0.8243" stopColor="#D20250" stopOpacity="0.824" />
<stop offset="1" stopColor="#C00148" />
</linearGradient>
<linearGradient id="paint4_linear_5356_8258" x1="19.6067" y1="22.4731" x2="11.9211" y2="16.7924" gradientUnits="userSpaceOnUse">
<stop stopColor="#FE0364" stop-opacity="0" />
<stop offset="0.2343" stopColor="#F90362" stop-opacity="0.234" />
<stop offset="0.5173" stopColor="#EA035B" stop-opacity="0.517" />
<stop offset="0.8243" stopColor="#D20250" stop-opacity="0.824" />
<stop stopColor="#FE0364" stopOpacity="0" />
<stop offset="0.2343" stopColor="#F90362" stopOpacity="0.234" />
<stop offset="0.5173" stopColor="#EA035B" stopOpacity="0.517" />
<stop offset="0.8243" stopColor="#D20250" stopOpacity="0.824" />
<stop offset="1" stopColor="#C00148" />
</linearGradient>
<linearGradient id="paint5_linear_5356_8258" x1="9.67987" y1="14.0072" x2="14.2244" y2="19.2869" gradientUnits="userSpaceOnUse">
......@@ -53,15 +53,15 @@ export default function FireIcon() {
<stop offset="1" stopColor="#FAC600" />
</linearGradient>
<linearGradient id="paint6_linear_5356_8258" x1="14.5739" y1="14.7946" x2="16.111" y2="14.26" gradientUnits="userSpaceOnUse">
<stop stopColor="#FE9738" stop-opacity="0" />
<stop stopColor="#FE9738" stopOpacity="0" />
<stop offset="1" stopColor="#FE9738" />
</linearGradient>
<linearGradient id="paint7_linear_5356_8258" x1="10.4313" y1="19.6432" x2="9.29522" y2="21.4923" gradientUnits="userSpaceOnUse">
<stop stopColor="#FE9738" stop-opacity="0" />
<stop stopColor="#FE9738" stopOpacity="0" />
<stop offset="1" stopColor="#FE9738" />
</linearGradient>
<linearGradient id="paint8_linear_5356_8258" x1="13.3531" y1="19.8299" x2="14.2442" y2="21.7235" gradientUnits="userSpaceOnUse">
<stop stopColor="#FE9738" stop-opacity="0" />
<stop stopColor="#FE9738" stopOpacity="0" />
<stop offset="1" stopColor="#FE9738" />
</linearGradient>
<linearGradient id="paint9_linear_5356_8258" x1="2.3812" y1="5.89051" x2="4.45298" y2="7.62816" gradientUnits="userSpaceOnUse">
......@@ -69,17 +69,17 @@ export default function FireIcon() {
<stop offset="1" stopColor="#FF4565" />
</linearGradient>
<linearGradient id="paint10_linear_5356_8258" x1="2.93311" y1="7.1912" x2="2.46525" y2="8.41088" gradientUnits="userSpaceOnUse">
<stop stopColor="#FE0364" stop-opacity="0" />
<stop offset="0.2343" stopColor="#F90362" stop-opacity="0.234" />
<stop offset="0.5173" stopColor="#EA035B" stop-opacity="0.517" />
<stop offset="0.8243" stopColor="#D20250" stop-opacity="0.824" />
<stop stopColor="#FE0364" stopOpacity="0" />
<stop offset="0.2343" stopColor="#F90362" stopOpacity="0.234" />
<stop offset="0.5173" stopColor="#EA035B" stopOpacity="0.517" />
<stop offset="0.8243" stopColor="#D20250" stopOpacity="0.824" />
<stop offset="1" stopColor="#C00148" />
</linearGradient>
<linearGradient id="paint11_linear_5356_8258" x1="2.92111" y1="6.59626" x2="4.4415" y2="7.04738" gradientUnits="userSpaceOnUse">
<stop stopColor="#FE0364" stop-opacity="0" />
<stop offset="0.2343" stopColor="#F90362" stop-opacity="0.234" />
<stop offset="0.5173" stopColor="#EA035B" stop-opacity="0.517" />
<stop offset="0.8243" stopColor="#D20250" stop-opacity="0.824" />
<stop stopColor="#FE0364" stopOpacity="0" />
<stop offset="0.2343" stopColor="#F90362" stopOpacity="0.234" />
<stop offset="0.5173" stopColor="#EA035B" stopOpacity="0.517" />
<stop offset="0.8243" stopColor="#D20250" stopOpacity="0.824" />
<stop offset="1" stopColor="#C00148" />
</linearGradient>
</defs>
......
......@@ -73,9 +73,10 @@ export default function WithdrawlPage({
})
);
} catch (e: any) {
console.log(e);
dispatch(
showToast({
message: e.message || "Something went wrong",
message: e?.data?.message || "Something went wrong",
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