diff options
-rw-r--r-- | modern/src/main/DevicesList.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/modern/src/main/DevicesList.js b/modern/src/main/DevicesList.js index 057ae28d..022da390 100644 --- a/modern/src/main/DevicesList.js +++ b/modern/src/main/DevicesList.js @@ -77,9 +77,8 @@ const DeviceRow = ({ data, index, style }) => { const secondaryText = () => { if (item.status === 'online' || !item.lastUpdate) { return formatStatus(item.status, t); - } else { - return moment(item.lastUpdate).fromNow(); } + return moment(item.lastUpdate).fromNow(); }; return ( |