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

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
minnakt committed Jan 18, 2024
1 parent 971efd0 commit 82b5700
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion cypress/integration/task/test_table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ describe("Tests Table", () => {
});
cy.location().should((loc) => {
expect(decodeURIComponent(loc.search)).to.include(
`statuses=${statuses.map(({ key }) => key).join(",")}`
`statuses=${statuses.map(({ key }) => key).join(",")}`,
);
});
});
Expand Down
8 changes: 4 additions & 4 deletions src/pages/task/taskTabs/TestsTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ export const TestsTable: React.FC<TestsTableProps> = ({ task }) => {

const { initialFilters, initialSorting } = useMemo(
() => getInitialState(queryParams),
[] // eslint-disable-line react-hooks/exhaustive-deps
[], // eslint-disable-line react-hooks/exhaustive-deps
);

const setSorting = (s: SortingState) =>
Expand Down Expand Up @@ -150,11 +150,11 @@ export const TestsTable: React.FC<TestsTableProps> = ({ task }) => {
manualPagination: true,
onColumnFiltersChange: onChangeHandler<ColumnFiltersState>(
setFilters,
updateFilters
updateFilters,
),
onSortingChange: onChangeHandler<SortingState>(
setSorting,
tableSortHandler
tableSortHandler,
),
});

Expand Down Expand Up @@ -215,7 +215,7 @@ const getInitialState = (queryParams: {
}
return accum;
},
[]
[],
),
};
};
Expand Down
2 changes: 1 addition & 1 deletion src/types/task.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export const mapIdToFilterParam = Object.entries(mapFilterParamToId).reduce(
...accum,
[param]: id,
}),
{}
{},
);

export type TableOnChange<D> = TableProps<D>["onChange"];
Expand Down

0 comments on commit 82b5700

Please sign in to comment.