import AppMyProfile from '@/components/profile/my-profile';

export default async function ManageAccount({
  params,
}: {
  params: { id: string };
}) {
  // const cookieStore = await cookies();
  // const token = cookieStore.get('token')?.value;


  // const result = await onGetUserDetail({ id: params.id as string }, token);
  // if (result && result?.data) {
    return (
      <>
        <AppMyProfile userId={params.id} />
      </>
    );
  // }
}
