Skip to content

Commit

Permalink
fix: settings form
Browse files Browse the repository at this point in the history
  • Loading branch information
shadcn committed Apr 25, 2023
1 parent dea1025 commit 6aa7f32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/(dashboard)/dashboard/settings/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export default async function SettingsPage() {
text="Manage account and website settings."
/>
<div className="grid gap-10">
<UserNameForm user={{ id: user.id, name: user.name }} />
<UserNameForm user={{ id: user.id, name: user.name || "" }} />
</div>
</DashboardShell>
)
Expand Down

0 comments on commit 6aa7f32

Please sign in to comment.