import {type FunctionComponent, Suspense} from 'react'
import TaskForm from '@/components/tasks/taskForm'
import FullPageSpinner from '@/components/custom/fullPageSpinner'

const Create: FunctionComponent = () => {
  return (
    <Suspense fallback={<FullPageSpinner />}>
      <TaskForm />
    </Suspense>
  )
}

export default Create
