Skip to content

Commit

Permalink
🔧 worxpace Fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
steeeee0223 committed Feb 4, 2024
1 parent 372752d commit 80b918f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export const UserItems = () => {
>
<div className="flex flex-col space-y-4 p-2">
<p className="text-xs font-medium leading-none text-muted-foreground">
{user?.emailAddresses[0].emailAddress}
{user?.emailAddresses.at(0)?.emailAddress}
</p>
<UserItem name={user?.fullName} imageUrl={user?.imageUrl} />
{userMemberships.data?.map(
Expand Down

0 comments on commit 80b918f

Please sign in to comment.