mirror of
https://github.com/Equicord/Equicord.git
synced 2025-03-03 16:02:39 -05:00
Fix testing
This commit is contained in:
parent
f2870325e3
commit
2cb6975f95
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ export function createPluginStore<Z extends PluginSettings = {}>(pluginName: str
|
|||
const use: PluginUse<Z> = () => { 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
|
||||
|
|
Loading…
Add table
Reference in a new issue