mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-07 01:15:28 +00:00
Merge branch 'master' of https://gitlab.insrt.uk/revolt/revite
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user