Skip to content

Commit

Permalink
move "view profile" to second element in recruiter table
Browse files Browse the repository at this point in the history
  • Loading branch information
devksingh4 committed Jul 21, 2024
1 parent 098b267 commit 13f20ba
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions clientv2/src/components/SearchProfiles/Results.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,11 @@ export const ProfileSearchResults: React.FC<ProfileSearchResultsProp> = ({ data
/>
</Table.Td>
<Table.Td>{element.name}</Table.Td>
<Table.Td>
<Button variant="light" color="green" onClick={() => openProfileModal(element.username)}>
View Profile
</Button>
</Table.Td>
<Table.Td>
<Anchor href={`mailto:${element.email}`}>{element.email}</Anchor>
</Table.Td>
Expand All @@ -111,11 +116,6 @@ export const ProfileSearchResults: React.FC<ProfileSearchResultsProp> = ({ data
</Text>
))}
</Table.Td>
<Table.Td>
<Button variant="light" color="green" onClick={() => openProfileModal(element.username)}>
View Profile
</Button>
</Table.Td>
</Table.Tr>
));

Expand Down Expand Up @@ -152,9 +152,9 @@ export const ProfileSearchResults: React.FC<ProfileSearchResultsProp> = ({ data
/>
</Table.Th>
<Table.Th>Name</Table.Th>
<Table.Th>Actions</Table.Th>
<Table.Th>Email</Table.Th>
<Table.Th>Degree(s)</Table.Th>
<Table.Th>Actions</Table.Th>
</Table.Tr>
</Table.Thead>
<Table.Tbody>{rows}</Table.Tbody>
Expand Down

0 comments on commit 13f20ba

Please sign in to comment.