Skip to content

Commit

Permalink
fix prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
devksingh4 committed Sep 11, 2024
1 parent 034db97 commit ed733f6
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions clientv2/src/pages/recruiter/RecruiterHome.page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,12 @@ export function RecruiterHomePage() {
setLoading(false);
return showErrorNotification();
}
const sortedData = response.data.sort(function(a: Record<string, string>, b: Record<string, string>) {
const keyA = a.name.toLowerCase(), keyB = b.name.toLowerCase();
const sortedData = response.data.sort(function (

Check failure on line 40 in clientv2/src/pages/recruiter/RecruiterHome.page.tsx

View workflow job for this annotation

GitHub Actions / Run Unit Tests

Unexpected function expression

Check warning on line 40 in clientv2/src/pages/recruiter/RecruiterHome.page.tsx

View workflow job for this annotation

GitHub Actions / Run Unit Tests

Unexpected unnamed function
a: Record<string, string>,
b: Record<string, string>
) {
const keyA = a.name.toLowerCase(),

Check failure on line 44 in clientv2/src/pages/recruiter/RecruiterHome.page.tsx

View workflow job for this annotation

GitHub Actions / Run Unit Tests

Split 'const' declarations into multiple statements
keyB = b.name.toLowerCase();
if (keyA < keyB) return -1;
if (keyA > keyB) return 1;
return 0;
Expand Down

0 comments on commit ed733f6

Please sign in to comment.