Skip to content

Commit

Permalink
handle empty state on settings page
Browse files Browse the repository at this point in the history
  • Loading branch information
Hbbb committed Jan 24, 2024
1 parent 8b5200a commit dc33dfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/SettingsPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export function SettingsPage() {

return (
<div className="flex flex-col gap-12 p-8 w-1/2">
{data && <SettingsForm defaultValues={data} />}
<SettingsForm defaultValues={data || {}} />
<PlaidLinkButton />
</div>
)
Expand Down

0 comments on commit dc33dfe

Please sign in to comment.