From 1c04854f49703a65b2aaf9bfeab99dc4fc9c8baa Mon Sep 17 00:00:00 2001 From: Mauro Mura Date: Mon, 2 Dec 2024 13:52:46 +0100 Subject: [PATCH] fixed coding style --- src/store/userconfig.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/store/userconfig.ts b/src/store/userconfig.ts index ab1bf50..fddc728 100644 --- a/src/store/userconfig.ts +++ b/src/store/userconfig.ts @@ -50,9 +50,9 @@ export const useUserConfigStore = function(...args) { // Make sure we only register the listeners once if (!userConfigStore._initialized) { - subscribe('files:config:updated', (params) => { - if (params) { - userConfigStore.onUpdate(params["key"], params["value"]) + subscribe('files:config:updated', (params) => { + if (params) { + userConfigStore.onUpdate(params.key, params.value) } }) userConfigStore.onUpdate('_initialized', true)