import type {FunctionComponent} from 'react'
import {Suspense} from 'react'
import ToDoList from '@/components/tasks/toDoList'
import FullPageSpinner from '@/components/custom/fullPageSpinner'

const Todo: FunctionComponent = () => {
  return (
    <Suspense fallback={<FullPageSpinner />}>
      <ToDoList completedTasks={false} />
    </Suspense>
  )
}

export default Todo
