'use client';

import { HydratedIsland } from '@/components/HydratedIsland';
import { Profile } from './Profile';
import type { Locale } from '@/lib/i18n';

interface ProfilePageProps {
  isAdmin?: boolean;
  isVendor?: boolean;
  userName?: string;
  locale?: Locale;
}

export function ProfilePage({
  isAdmin = false,
  isVendor = false,
  userName,
  locale,
}: ProfilePageProps) {
  return (
    <HydratedIsland locale={locale}>
      <Profile isAdmin={isAdmin} isVendor={isVendor} userName={userName} />
    </HydratedIsland>
  );
}
