diff --git a/src/pages/DrepDetail/index.tsx b/src/pages/DrepDetail/index.tsx index b37833c602..28a516e6ba 100644 --- a/src/pages/DrepDetail/index.tsx +++ b/src/pages/DrepDetail/index.tsx @@ -115,7 +115,7 @@ const DrepDetail = () => { value={data?.anchorUrl || ""} sxFirstPart={{ maxWidth: width > 600 ? "calc(100% - 60px)" : "calc(100% - 70px)" }} postfix={5} - sx={{ width: "fit-content", cursor: "pointer" }} + sx={{ width: data?.anchorUrl.length > 25 ? "100%" : "fit-content", cursor: "pointer" }} isNoLimitPixel={true} isTooltip /> @@ -165,7 +165,11 @@ const DrepDetail = () => { {t("drep.activeVoteStake")} ), - value: {formatADA(data?.activeVoteStake || 0)} ADA + value: ( + + {data?.liveStake !== null ? `${formatADA(data?.activeVoteStake || 0)} ADA` : t("common.N/A")}{" "} + + ) }, { icon: LiveStakeDrepIcon, @@ -175,7 +179,9 @@ const DrepDetail = () => { {t("drep.liveStake")} ), - value: {formatADA(data?.liveStake || 0)} ADA + value: ( + {data?.liveStake !== null ? `${formatADA(data?.liveStake || 0)} ADA` : t("common.N/A")} + ) }, { icon: DelegatorsDrepIcon,