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

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

export default All
