diff --git a/frontend/src/pages/HostDetail.jsx b/frontend/src/pages/HostDetail.jsx index 1de9b0d..1555fd2 100644 --- a/frontend/src/pages/HostDetail.jsx +++ b/frontend/src/pages/HostDetail.jsx @@ -213,7 +213,7 @@ const HostDetail = () => { return "Up to Date"; }; - const isStale = new Date() - new Date(host.last_update) > 24 * 60 * 60 * 1000; + const isStale = Date.now() - new Date(host.last_update) > 24 * 60 * 60 * 1000; return (