Use green for FR (and numeric) cards
This commit is contained in:
parent
3b6ba76db6
commit
c1765ca0cb
|
@ -325,14 +325,6 @@ export function getColor(contract: Contract) {
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (contract.outcomeType === 'NUMERIC') {
|
|
||||||
return 'blue-400'
|
|
||||||
}
|
|
||||||
|
|
||||||
if (contract.outcomeType === 'FREE_RESPONSE') {
|
|
||||||
return 'blue-400'
|
|
||||||
}
|
|
||||||
|
|
||||||
if ((contract.closeTime ?? Infinity) < Date.now()) {
|
if ((contract.closeTime ?? Infinity) < Date.now()) {
|
||||||
return 'gray-400'
|
return 'gray-400'
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user