Skip to content

Commit 766e195

Browse files
committed
fix: ProfilePage not async component
1 parent a850484 commit 766e195

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

client/src/app/profile/[userId]/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ function UserAttribute({ children, className, ...props }: React.HTMLAttributes<H
4141
)
4242
}
4343

44-
export default async function ProfilePage(props: { params: Promise<{ userId: string }> }) {
44+
export default function ProfilePage(props: { params: Promise<{ userId: string }> }) {
4545
const params = React.use(props.params)
4646
const { toast } = useToast()
4747

0 commit comments

Comments
 (0)