same as b1f0e3b0 but in TS
@@ -73,6 +73,8 @@ async function calculate(username: string, apiKey: string, supplyForDays: number
<td>${format(m.spread)}</td>
<td>${format(m.savings)}</td>
`;
+ if (m.bids === 0 && buyAmount > 0)
+ tr.children[2].classList.add('red');
tbody.appendChild(tr);
}
@@ -71,6 +71,9 @@ table.buy {
font-family: inherit;
text-align: inherit;
+ td.red {
+ color: #c66;
+ }
table.roi {
td:nth-child(1),