diff --git a/components/markets/market-card/index.tsx b/components/markets/market-card/index.tsx
index 65d8f6fca..1f5f82f12 100644
--- a/components/markets/market-card/index.tsx
+++ b/components/markets/market-card/index.tsx
@@ -66,7 +66,7 @@ const MarketCardPredictionBar = ({
return (
- {name}
+ {name}
{impliedPercentage}%
(
if (extrinsic && proxy?.enabled && proxy?.address) {
console.info("Proxying cross chain transaction");
extrinsic = sdk.api.tx.proxy.proxy(proxy?.address, null, extrinsic);
+ notifications.pushNotification(
+ "Proxies are not supported for cross chain transactions",
+ {
+ type: "Info",
+ },
+ );
}
if (!signer || !extrinsic || !sourceChainApi || !destinationChainApi)
@@ -116,7 +122,10 @@ export const useCrossChainExtrinsic = (
},
}),
IOForeignAssetId.is(fee?.assetId) ? fee?.assetId.ForeignAsset : undefined,
- ).catch(() => {
+ ).catch((error) => {
+ notifications.pushNotification(error?.toString() ?? "Unknown Error", {
+ type: "Error",
+ });
setIsLoading(false);
});
};