/**
 * @format
 */
import React, {lazy, Suspense} from 'react'

const LazyDashboard = lazy(() => import('./Dashboard'))

// eslint-disable-next-line no-undef
const Dashboard = (props: JSX.IntrinsicAttributes & {children?: React.ReactNode}) => (
  <Suspense fallback={null}>
    <LazyDashboard {...props} />
  </Suspense>
)

export default Dashboard
