Migrate to v2.10.2

This commit is contained in:
Ewen Le Bihan 2024-03-30 21:23:30 +01:00
parent 17c93dab31
commit 3eae82632f
3 changed files with 6 additions and 3 deletions

View file

@ -29,6 +29,7 @@ export interface MetricsTableProps extends ListTableProps {
onSearch?: (search: string) => void;
allowSearch?: boolean;
children?: ReactNode;
fieldName?: string
}
export function MetricsTable({
@ -41,6 +42,7 @@ export function MetricsTable({
delay = null,
allowSearch = false,
children,
fieldName,
...props
}: MetricsTableProps) {
const [search, setSearch] = useState('');
@ -70,6 +72,7 @@ export function MetricsTable({
city,
limit,
search,
fieldName,
},
{ retryDelay: delay || DEFAULT_ANIMATION_DURATION, onDataLoad },
);