fix: move typings

This commit is contained in:
Arvid Norlin
2024-04-22 14:04:20 +02:00
parent dff21b33cd
commit 7b92be973c
10 changed files with 43 additions and 56 deletions

View File

@@ -7,18 +7,13 @@ import Button from "@/components/TempDesignSystem/Button"
import Title from "@/components/Title"
import styles from "./next.module.css"
export type NextLevelProps = {
title: string
subtitle?: string
link: { href: string; text: string } | null
}
import { AccountPageComponentProps } from "@/types/components/myPages/myPage/accountPage"
export default async function NextLevelBenefitsBlock({
title,
subtitle,
link,
}: NextLevelProps) {
}: AccountPageComponentProps) {
const { nextLevel, perks } = await serverClient().user.benefits.nextLevel()
return (