hide cost tooltip if daily free market

This commit is contained in:
mantikoros 2022-05-09 16:53:18 -04:00
parent 81179f91d2
commit 39f64f4eb6

View File

@ -241,9 +241,11 @@ export function NewContract(props: { question: string; tag?: string }) {
<div className="form-control mb-1 items-start"> <div className="form-control mb-1 items-start">
<label className="label mb-1 gap-2"> <label className="label mb-1 gap-2">
<span>Cost</span> <span>Cost</span>
<InfoTooltip {!deservesDailyFreeMarket && (
text={`Cost to create your market. This amount is used to subsidize trading.`} <InfoTooltip
/> text={`Cost to create your market. This amount is used to subsidize trading.`}
/>
)}
</label> </label>
{deservesDailyFreeMarket ? ( {deservesDailyFreeMarket ? (
<div className="label-text text-primary pl-1">FREE</div> <div className="label-text text-primary pl-1">FREE</div>