import { profileEdit } from "@/constants/routes/myPages"
import { _ } from "@/lib/translation"

import Button from "@/components/TempDesignSystem/Button"
import Link from "@/components/TempDesignSystem/Link"

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

export default function ProfileView({ params }: PageArgs<LangParams>) {
  return (
    <Button asChild size="small">
      <Link href={profileEdit[params.lang]}>{_("Edit")}</Link>
    </Button>
  )
}
