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

@@ -11,12 +11,13 @@ export type CurrentLevelProps = {
subtitle?: string
link: { text: string; href: string } | null
}
import { AccountPageComponentProps } from "@/types/components/myPages/myPage/accountPage"
export default async function CurrentBenefitsBlock({
title,
subtitle,
link,
}: CurrentLevelProps) {
}: AccountPageComponentProps) {
const benefits = await serverClient().user.benefits.current()
return (