Files
web/app/[lang]/(live)/(protected)/my-pages2/profile/@view/page.tsx
Michael Zetterberg 2097807062 chore(debug): auth
2024-05-15 14:59:47 +02:00

16 lines
508 B
TypeScript

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 bgcolor="quarternary" size="small" weight="regular">
<Link href={profileEdit[params.lang]}>{_("Edit")}</Link>
</Button>
)
}