From ab6ec981604a32611d972ede634abe7ccd19b0d2 Mon Sep 17 00:00:00 2001 From: AAGaming Date: Tue, 2 Aug 2022 18:54:55 -0400 Subject: API for patching existing routes, lower power use --- frontend/src/index.tsx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'frontend/src/index.tsx') diff --git a/frontend/src/index.tsx b/frontend/src/index.tsx index 188c1330..4045751f 100644 --- a/frontend/src/index.tsx +++ b/frontend/src/index.tsx @@ -7,6 +7,7 @@ declare global { DeckyUpdater?: DeckyUpdater; importDeckyPlugin: Function; syncDeckyPlugins: Function; + deckyHasLoaded: boolean; } } @@ -26,3 +27,5 @@ window.syncDeckyPlugins = async function () { }; setTimeout(() => window.syncDeckyPlugins(), 5000); + +window.deckyHasLoaded = true; -- cgit v1.2.3