From 2cb6975f95d596d5f1e28c0be0079265828e6fbb Mon Sep 17 00:00:00 2001 From: thororen <78185467+thororen1234@users.noreply.github.com> Date: Wed, 24 Apr 2024 12:41:13 -0400 Subject: [PATCH] Fix testing --- src/equicordplugins/philsPluginLibrary/store/store.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/equicordplugins/philsPluginLibrary/store/store.ts b/src/equicordplugins/philsPluginLibrary/store/store.ts index 1e5251e4..339e1678 100644 --- a/src/equicordplugins/philsPluginLibrary/store/store.ts +++ b/src/equicordplugins/philsPluginLibrary/store/store.ts @@ -82,7 +82,7 @@ export function createPluginStore(pluginName: str const use: PluginUse = () => { useSettings().plugins[pluginName].stores[storeName]; return get(); }; // useSettings is called to update renderer (after settings change) const initialSettings: Z = f(set, get); - const proxiedSettings = createObjectProxy(initialSettings as unknown, updateCallback); // Setup our proxy that allows us connections to the datastore + const proxiedSettings = createObjectProxy(initialSettings as object, updateCallback); // Setup our proxy that allows us connections to the datastore function updateCallback(updatedObject: any) { if (!startupStates[storeName]) return; // Wait for the startup information to overwrite the blank proxy