Update OfflineIndicator.jsx

This commit is contained in:
Tom
2023-05-29 18:31:15 +02:00
parent c0155b026a
commit ad3690007f
+1 -1
View File
@@ -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 (
<>