Skip to content

Commit e1c715e

Browse files
committed
chore: fix failing build
1 parent 6677dbd commit e1c715e

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/components/Configs/ConfigList/Cells/ConfigListTagsCell.tsx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@ import { useCallback } from "react";
44
import { useSearchParams } from "react-router-dom";
55
import { ConfigItem } from "../../../../api/types/configs";
66

7-
type ConfigListTagsCellProps<T extends Pick<ConfigItem, "tags" | "id">> = Pick<
8-
CellContext<Pick<T, "tags" | "id">, any>,
9-
"getValue" | "row"
10-
> & {
7+
type ConfigListTagsCellProps<
8+
T extends {
9+
tags?: Record<string, any>;
10+
}
11+
> = Pick<CellContext<T, any>, "getValue" | "row"> & {
1112
hideGroupByView?: boolean;
1213
label?: string;
1314
enableFilterByTag?: boolean;

0 commit comments

Comments
 (0)