Skip to content

Commit ef03004

Browse files
committed
Merge branch 'main' of https://github.com/vuejs/vue-devtools into main
2 parents 1fd84b7 + e6b2f05 commit ef03004

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/api/src/proxy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export class ApiProxy<TTarget extends DevtoolsPluginApi<any> = DevtoolsPluginApi
3636
}
3737
}
3838
const localSettingsSaveId = `__vue-devtools-plugin-settings__${plugin.id}`
39-
let currentSettings = { ...defaultSettings }
39+
let currentSettings = Object.assign({}, defaultSettings)
4040
try {
4141
const raw = localStorage.getItem(localSettingsSaveId)
4242
const data = JSON.parse(raw)

0 commit comments

Comments
 (0)