fix: move typings
This commit is contained in:
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user