diff --git a/src/config/index.ts b/src/config/index.ts index 1bfe8f30..7b1d91ac 100644 --- a/src/config/index.ts +++ b/src/config/index.ts @@ -1,5 +1,5 @@ import Store from 'electron-store'; -import { deepmerge } from 'deepmerge-ts'; +import { deepmergeCustom } from 'deepmerge-ts'; import defaultConfig from './defaults'; @@ -8,6 +8,10 @@ import plugins from './plugins'; import { restart } from '@/providers/app-controls'; +const deepmerge = deepmergeCustom({ + mergeArrays: false, +}); + const set = (key: string, value: unknown) => { store.set(key, value); };