import { Suspense } from "react"

import Breadcrumbs from "@/components/Breadcrumbs"
import BreadcrumbsSkeleton from "@/components/TempDesignSystem/Breadcrumbs/BreadcrumbsSkeleton"

import type { LangParams, PageArgs } from "@/types/params"
import { PageContentTypeEnum } from "@/types/requests/contentType"

export default function AllBreadcrumbs({}: PageArgs<LangParams>) {
  return (
    <Suspense fallback={<BreadcrumbsSkeleton />}>
      <Breadcrumbs variant={PageContentTypeEnum.accountPage} />
    </Suspense>
  )
}
