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:
2025-12-26 21:35:41 +01:00
parent f74090c8a5
commit af54d8061c
3 changed files with 13 additions and 13 deletions

View File

@@ -44,7 +44,7 @@ export default async function SettingsPage() {
<ProfileForm
initialData={{
email: profile?.email,
display_name: profile?.display_name,
username: profile?.username,
}}
/>