From ad3690007f42ffc0c03694ea395a1e00caf59e2d Mon Sep 17 00:00:00 2001 From: Tom Date: Mon, 29 May 2023 18:31:15 +0200 Subject: [PATCH] Update OfflineIndicator.jsx --- src/components/OfflineIndicator.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/OfflineIndicator.jsx b/src/components/OfflineIndicator.jsx index 16ff27c3..5f017117 100644 --- a/src/components/OfflineIndicator.jsx +++ b/src/components/OfflineIndicator.jsx @@ -3,7 +3,7 @@ import { useSubplebbit } from "@plebbit/plebbit-react-hooks"; const OfflineIndicator = ({ address, className, tooltipPlace }) => { const subplebbit = useSubplebbit({ subplebbitAddress: address }); - const isOnline = false; + const isOnline = subplebbit.updatedAt > Date.now() / 1000 - 60 * 20; return ( <>