Skip to content
Snippets Groups Projects
Commit 8935c26d authored by nizune's avatar nizune
Browse files

Merge branch 'master' of https://gitlab.insrt.uk/revolt/revite

parents d0e6d2a0 431a86c2
Branches master
No related merge requests found
......@@ -6,6 +6,7 @@ import { internalSubscribe } from "../../lib/eventEmitter";
import { useContext, useEffect, useState } from "preact/hooks";
var pendingUpdate = false;
internalSubscribe('PWA', 'update', () => pendingUpdate = true);
export default function UpdateIndicator() {
const [ pending, setPending ] = useState(pendingUpdate);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment