Skip to content

Commit

Permalink
Make email address optional (#334)
Browse files Browse the repository at this point in the history
Co-authored-by: Ahmed Elsakaan <[email protected]>
  • Loading branch information
Erb3 and ixahmedxi authored Oct 31, 2023
1 parent fe891af commit 90ffc5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/(dashboard)/_components/side-menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export const DashboardSideMenu = async () => {
<ul>
<li>
<FeedbackModal
email={user?.emailAddresses[0]!.emailAddress ?? ""}
email={user?.emailAddresses[0]?.emailAddress ?? ""}
/>
</li>
<li>
Expand Down

0 comments on commit 90ffc5d

Please sign in to comment.