Skip to content
This repository has been archived by the owner on Mar 23, 2024. It is now read-only.

Commit

Permalink
fix: specialty field to match updated type
Browse files Browse the repository at this point in the history
  • Loading branch information
pupixipup committed Feb 14, 2024
1 parent c714b72 commit 7bb4e0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/app/(main)/[username]/profile/ui/list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const List = () => {
return (
<Card style={{ width: '40%', gap: '18px' }}>
<Flex direction='column' gap='16px'>
<Row icon={<UserIcon />} text={user?.speciality ?? ''} />
<Row icon={<UserIcon />} text={user?.skills?.speciality ?? ''} />
<Row icon={<Star />} text={user?.experience ?? ''} />
<Row icon={<MapPin />} text={user?.country ?? ''} />
{age && <Row icon={<Cake />} text={`${age} years old`} />}
Expand Down

0 comments on commit 7bb4e0b

Please sign in to comment.