summaryrefslogtreecommitdiff
path: root/frontend/src/index.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/index.tsx')
-rw-r--r--frontend/src/index.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/src/index.tsx b/frontend/src/index.tsx
index 364ccb1b..188c1330 100644
--- a/frontend/src/index.tsx
+++ b/frontend/src/index.tsx
@@ -21,7 +21,7 @@ window.importDeckyPlugin = function (name: string) {
window.syncDeckyPlugins = async function () {
const plugins = await (await fetch('http://127.0.0.1:1337/plugins')).json();
for (const plugin of plugins) {
- window.DeckyPluginLoader?.importPlugin(plugin);
+ if (!window.DeckyPluginLoader.hasPlugin(plugin)) window.DeckyPluginLoader?.importPlugin(plugin);
}
};