fix: 'No holding to vote' message is not showing dynamic NFT name.

This commit is contained in:
Raja Ilayaperumal
2022-09-08 00:47:49 +05:30
parent cc7d8b66ed
commit c22f8906c0

View File

@@ -139,7 +139,12 @@ export default function PollComponent(props) {
{/* Holdings Required */}
{noHoldingToken &&
<div style={{ fontSize: "14px", color: "red", marginTop: "10px" }}>
You should have the "strategy name" to vote.
You should have the {" "}
{pollObject?.votingStrategyTemplate == "btcholders" ?
".btc Namespace" :
(pollObject?.strategyNFTName ? pollObject?.strategyNFTName : "strategy NFT")
}
{" "} to vote.
</div>
}