diff --git a/src/app/profile/page.tsx b/src/app/profile/page.tsx index 4d2134b..6babd67 100644 --- a/src/app/profile/page.tsx +++ b/src/app/profile/page.tsx @@ -13,7 +13,7 @@ import { Avatar } from '@/components/ui/avatar' import { LoadingSpinner, LoadingOverlay } from '@/components/ui/loading-spinner' import { FullScreenLoading } from '@/components/ui/full-screen-loading' import { AvatarSkeleton, FormFieldSkeleton, TextAreaSkeleton } from '@/components/ui/skeleton' -import { Save, Eye, EyeOff, Globe, CreditCard, Crown, Star } from 'lucide-react' +import { Save, Eye, EyeOff, CreditCard, Crown, Star } from 'lucide-react' interface UserProfile { id: string @@ -21,7 +21,6 @@ interface UserProfile { username?: string bio?: string avatar?: string - language?: 'en' | 'zh' versionLimit: number subscribePlan: string maxVersionLimit: number @@ -71,7 +70,6 @@ export default function ProfilePage() { currentPassword: '', newPassword: '', confirmPassword: '', - language: 'en' as 'en' | 'zh', versionLimit: 3 }) const [showPasswords, setShowPasswords] = useState({ @@ -112,7 +110,6 @@ export default function ProfilePage() { currentPassword: '', newPassword: '', confirmPassword: '', - language: profileData.language || 'en', versionLimit: profileData.versionLimit }) @@ -549,37 +546,6 @@ export default function ProfilePage() { )} - {/* Language */} - {profileLoading ? ( - - ) : ( - -
-
-

{t('language')}

- {fieldLoading.language ? ( - - ) : ( - - )} -
- - -
-
- )} {/* Password */} {profileLoading ? (