Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
akawashiro committed Dec 6, 2023
1 parent f5ac30d commit b3a2b80
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions jendeley-frontend/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ function ShowText(text: string | undefined) {
function stringArrayFilterFn(
row: any,
id: string,
filterValue: string | number
filterValue: string | number,
) {
const authors = row.getValue(id) as string[];
const fv =
Expand Down Expand Up @@ -188,7 +188,7 @@ function CellHref(cell: MRT_Cell<ApiEntry>, row: MRT_Row<ApiEntry>) {
function useColumnDefs(
tableData: ApiDB,
setTableData: React.Dispatch<React.SetStateAction<ApiDB>>,
columnFilters: MRT_ColumnFiltersState
columnFilters: MRT_ColumnFiltersState,
): MRT_ColumnDef<ApiEntry>[] {
return useMemo<MRT_ColumnDef<ApiEntry>[]>(
() => [
Expand Down Expand Up @@ -299,7 +299,7 @@ function useColumnDefs(
size: 400,
},
],
[tableData, setTableData]
[tableData, setTableData],
);
}

Expand All @@ -323,7 +323,7 @@ function App() {
"Fetching from DB because of changes in columnFilters or sorting. columnFilters = ",
columnFilters,
"sorting = ",
sorting
sorting,
);

fetchDB(columnFilters, setTableData, setConnectionError);
Expand Down

0 comments on commit b3a2b80

Please sign in to comment.