/**
 * 个人主页 ProfileScreen
 * 胡萝卜BBS - 当前用户个人主页
 * 使用统一的 UserProfileScreen 组件，mode='self'
 */

import React from 'react';
import { useNavigation } from '@react-navigation/native';
import { NativeStackNavigationProp } from '@react-navigation/native-stack';
import UserProfileScreen from './UserProfileScreen';
import { ProfileStackParamList } from '../../navigation/types';

type ProfileNavigationProp = NativeStackNavigationProp<ProfileStackParamList, 'Profile'>;

export const ProfileScreen: React.FC = () => {
  const profileNavigation = useNavigation<ProfileNavigationProp>();
  
  return <UserProfileScreen mode="self" profileNavigation={profileNavigation} />;
};

export default ProfileScreen;