fix(store): setting store state after init

This commit is contained in:
Braks
2022-04-04 21:42:48 +02:00
parent 4644af5736
commit 188156dd0b
3 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -64,7 +64,7 @@ export default (
const skip = ['modelValue', 'edges', 'nodes', 'maxZoom', 'minZoom']
Object.keys(props).forEach((p) => {
if (!skip.indexOf(p)) {
if (!skip.includes(p)) {
const prop = props[p as keyof typeof props]
watch(
() => prop,