fix: move user fetch
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
import { Lang } from "@/constants/languages"
|
||||
|
||||
import {
|
||||
AccountPageContentItem,
|
||||
DynamicContentComponents,
|
||||
} from "@/types/requests/myPages/accountpage"
|
||||
import { User } from "@/types/user"
|
||||
|
||||
export type AccountPageContentProps = {
|
||||
component: DynamicContentComponents
|
||||
@@ -13,7 +13,6 @@ export type AccountPageContentProps = {
|
||||
link?: { href: string; text: string }
|
||||
lang: Lang
|
||||
}
|
||||
user: User
|
||||
}
|
||||
|
||||
export type AccountPageComponentProps = {
|
||||
@@ -24,7 +23,6 @@ export type AccountPageComponentProps = {
|
||||
}
|
||||
|
||||
export type ContentProps = {
|
||||
user: User
|
||||
lang: Lang
|
||||
content: AccountPageContentItem[]
|
||||
}
|
||||
|
||||
@@ -2,5 +2,4 @@ import type { User } from "@/types/user"
|
||||
|
||||
export type OverviewProps = {
|
||||
title?: string
|
||||
user: User
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user