aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/src/components/tables/plugins/useCustomSelection.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/components/tables/plugins/useCustomSelection.tsx')
-rw-r--r--frontend/src/components/tables/plugins/useCustomSelection.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontend/src/components/tables/plugins/useCustomSelection.tsx b/frontend/src/components/tables/plugins/useCustomSelection.tsx
index f3d357378..d6ea82de4 100644
--- a/frontend/src/components/tables/plugins/useCustomSelection.tsx
+++ b/frontend/src/components/tables/plugins/useCustomSelection.tsx
@@ -71,7 +71,7 @@ function useInstance<T extends object>(instance: TableInstance<T>) {
useEffect(() => {
// Performance
let items = Object.keys(selectedRowIds).flatMap(
- (v) => rows.find((n) => n.id === v)?.original ?? []
+ (v) => rows.find((n) => n.id === v)?.original ?? [],
);
if (canSelect) {
@@ -84,7 +84,7 @@ function useInstance<T extends object>(instance: TableInstance<T>) {
function visibleColumns<T extends object>(
columns: ColumnInstance<T>[],
- meta: MetaBase<T>
+ meta: MetaBase<T>,
): Column<T>[] {
const { instance } = meta;
const checkbox: Column<T> = {