fix: /status colors

This commit is contained in:
Vyacheslav Matyukhin 2022-04-27 23:20:05 +04:00
parent 54cd3c259b
commit d378674c8c
No known key found for this signature in database
GPG Key ID: 3D2A774C5489F96C

View File

@ -22,7 +22,7 @@ const StatusPage: NextPage = () => {
? new Date(platform.lastUpdated * 1000) ? new Date(platform.lastUpdated * 1000)
: null; : null;
const isStale = const isStale =
!ts || new Date().getTime() - ts.getTime() < 2 * 86400 * 1000; !ts || new Date().getTime() - ts.getTime() > 2 * 86400 * 1000;
return ( return (
<tr key={platform.id}> <tr key={platform.id}>
<td <td