<template>
  <ToolbarComponent pageTitle="Tasks" />
  <q-page padding>
    <div
      class="q-pa-md"
      style="max-width: 400px">
      <TaskEditComponent :taskId="taskId" />
    </div>
  </q-page>
</template>

<script setup lang="ts">
const taskId = useRoute().params.id as string;
import ToolbarComponent from 'src/components/ToolbarComponent.vue';
import TaskEditComponent from 'src/components/task/TaskEditComponent.vue';
import { useRoute } from 'vue-router';
</script>
