import React from 'react'; interface MemberSettingsPageProps { passwordError: string; passwordForm: { current_password: string; new_password: string; confirm_password: string; }; passwordSaving: boolean; passwordSuccess: string; profileError: string; profileFormData: { first_name: string; last_name: string; email: string; phone: string; address: string; }; profileSaving: boolean; profileSuccess: string; setPasswordForm: React.Dispatch>; setProfileFormData: React.Dispatch>; onChangePassword: () => void; onSaveProfile: () => void; } const MemberSettingsPage: React.FC = ({ passwordError, passwordForm, passwordSaving, passwordSuccess, profileError, profileFormData, profileSaving, profileSuccess, setPasswordForm, setProfileFormData, onChangePassword, onSaveProfile }) => (

Settings

Profile Settings

{profileError &&
{profileError}
} {profileSuccess &&
{profileSuccess}
}
setProfileFormData((prev) => ({ ...prev, first_name: e.target.value }))} />
setProfileFormData((prev) => ({ ...prev, last_name: e.target.value }))} />
setProfileFormData((prev) => ({ ...prev, email: e.target.value }))} />
setProfileFormData((prev) => ({ ...prev, phone: e.target.value }))} />