fix: eslint errors

This commit is contained in:
DaneEveritt 2022-10-08 11:30:14 -07:00
parent ba10646e8a
commit 2e61a4db13
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53

View file

@ -99,7 +99,7 @@ const ServerDetailsBlock = ({ className }: { className?: string }) => {
color={getBackgroundColor(status === 'running' ? 0 : status !== 'offline' ? 9 : 10, 10)} color={getBackgroundColor(status === 'running' ? 0 : status !== 'offline' ? 9 : 10, 10)}
> >
{status === null ? ( {status === null ? (
"Offline" 'Offline'
) : stats.uptime > 0 ? ( ) : stats.uptime > 0 ? (
<UptimeDuration uptime={stats.uptime / 1000} /> <UptimeDuration uptime={stats.uptime / 1000} />
) : ( ) : (