Skip to content

Commit

Permalink
solved issue that prevents building webpacks
Browse files Browse the repository at this point in the history
  • Loading branch information
memurats committed Dec 2, 2024
1 parent 85cc14f commit 3017302
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/store/userconfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,10 @@ export const useUserConfigStore = function(...args) {

// Make sure we only register the listeners once
if (!userConfigStore._initialized) {
subscribe('files:config:updated', function({ key, value }: { key: string, value: boolean }) {
userConfigStore.onUpdate(key, value)
subscribe('files:config:updated', (params) => {

Check failure on line 53 in src/store/userconfig.ts

View workflow job for this annotation

GitHub Actions / eslint

Trailing spaces not allowed
if (params) {

Check failure on line 54 in src/store/userconfig.ts

View workflow job for this annotation

GitHub Actions / eslint

Unexpected tab character

Check failure on line 54 in src/store/userconfig.ts

View workflow job for this annotation

GitHub Actions / eslint

Trailing spaces not allowed
userConfigStore.onUpdate(params["key"], params["value"])

Check failure on line 55 in src/store/userconfig.ts

View workflow job for this annotation

GitHub Actions / eslint

["key"] is better written in dot notation

Check failure on line 55 in src/store/userconfig.ts

View workflow job for this annotation

GitHub Actions / eslint

Strings must use singlequote

Check failure on line 55 in src/store/userconfig.ts

View workflow job for this annotation

GitHub Actions / eslint

["value"] is better written in dot notation

Check failure on line 55 in src/store/userconfig.ts

View workflow job for this annotation

GitHub Actions / eslint

Strings must use singlequote
}
})
userConfigStore.onUpdate('_initialized', true)
}
Expand Down

0 comments on commit 3017302

Please sign in to comment.