Skip to content

Commit

Permalink
fix(client): update name field to display_name in settings page
Browse files Browse the repository at this point in the history
  • Loading branch information
lareii committed Sep 11, 2024
1 parent f1cbaa0 commit 4e0e611
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/app/app/settings/profile/page.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export default function Page() {
const form = useForm({
resolver: zodResolver(formSchema),
defaultValues: {
name: user.display_name,
display_name: user.display_name,
username: user.username,
about: user.about
}
Expand Down Expand Up @@ -118,7 +118,7 @@ export default function Page() {
<div className='flex flex-col gap-y-5'>
<FormField
control={form.control}
name='name'
name='display_name'
render={({ field }) => (
<FormItem className='space-y-1'>
<FormLabel>görünen isim</FormLabel>
Expand Down

0 comments on commit 4e0e611

Please sign in to comment.