mirror of
https://github.com/alexgo-io/ballot.git
synced 2026-04-30 14:02:32 +08:00
fix: 'No holding to vote' message is not showing dynamic NFT name.
This commit is contained in:
@@ -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>
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user