Skip to content

Commit

Permalink
Cool simplification thanks to Laila
Browse files Browse the repository at this point in the history
  • Loading branch information
jmchilton committed Nov 22, 2023
1 parent 504bd47 commit 32febd3
Showing 1 changed file with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,13 @@ function initStores() {
}
}
watch(props, () => {
initStores();
});
initStores();
watch(
props,
() => {
initStores();
},
{ immediate: true }
);
</script>

<template>
Expand Down

0 comments on commit 32febd3

Please sign in to comment.