Skip to content

Commit

Permalink
feat: lint formatting [gh-36]
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubfolta committed Jun 20, 2024
1 parent b5678da commit a9b3cf8
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions frontend/src/app/(app)/people/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -167,12 +167,10 @@ export default function People() {

const filterPeople = (people: Employee[]) => {
if (selectedFilter === filters[0].value) return people;

const filteredPeople = people.filter((employee: Employee) =>
employee.laddersDetails.find((ladder) =>
ladder.currentBand === +selectedFilter.split('_')[1]));

return filteredPeople;

return people.filter((employee: Employee) =>
employee.laddersDetails.find((ladder) => ladder.currentBand === +selectedFilter.split('_')[1]),
);
};

return (
Expand Down

0 comments on commit a9b3cf8

Please sign in to comment.