{
- if (fundAppeal && fundAppealConfig && publicClient) {
- setIsSending(true);
- wrapWithToast(async () => await fundAppeal(fundAppealConfig.request), publicClient)
- .then((res) => {
- res.status && setIsOpen(true);
- })
- .finally(() => {
- setIsSending(false);
- });
- }
- }}
- />
+
+ {
+ if (fundAppeal && fundAppealConfig && publicClient) {
+ setIsSending(true);
+ wrapWithToast(async () => await fundAppeal(fundAppealConfig.request), publicClient)
+ .then((res) => {
+ res.status && setIsOpen(true);
+ })
+ .finally(() => {
+ setIsSending(false);
+ });
+ }
+ }}
+ />
+ {insufficientBalance && (
+
+ Insufficient balance
+
+ )}
+