fix: Use username field instead of display_name in profile
- Updated profile-actions.ts to use username column - Updated ProfileForm.tsx to use username - Updated settings page to pass username - Matches database schema (profiles.username)
This commit is contained in:
@@ -44,7 +44,7 @@ export default async function SettingsPage() {
|
||||
<ProfileForm
|
||||
initialData={{
|
||||
email: profile?.email,
|
||||
display_name: profile?.display_name,
|
||||
username: profile?.username,
|
||||
}}
|
||||
/>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user