diff options
Diffstat (limited to 'frontend/src/index.ts')
| -rw-r--r-- | frontend/src/index.ts | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/frontend/src/index.ts b/frontend/src/index.ts deleted file mode 100644 index 390b83c9..00000000 --- a/frontend/src/index.ts +++ /dev/null @@ -1,16 +0,0 @@ -import PluginLoader from './plugin-loader'; - -declare global { - interface Window { - DeckyPluginLoader?: PluginLoader; - } -} - -if (window.DeckyPluginLoader) { - window.DeckyPluginLoader?.dismountAll(); -} - -window.DeckyPluginLoader = new PluginLoader(); -setTimeout(async () => { - window.DeckyPluginLoader?.loadAllPlugins(); -}, 5000); |
