Skip to content

Commit

Permalink
refactor: don't pass as prop; exists on parent
Browse files Browse the repository at this point in the history
  • Loading branch information
BillClinton committed Aug 15, 2023
1 parent 585cd68 commit b4ef0f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ export default {
setup(props) {
const taskStore = useTaskStore(),
{ state: parent } = useDataTableMachine(),
{ state, send } = useActor(props.formMachine),
{ state, send } = useActor(parent.value.children.form),
taskform = ref(null);
return {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
</v-row>
</v-container>

<TaskForm v-if="isFormVisible" :form-machine="state.children.form" />
<TaskForm v-if="isFormVisible" />
<Login v-if="isUnauthenticated" />
<ToastSnackbar />
</template>
Expand Down

0 comments on commit b4ef0f6

Please sign in to comment.