Skip to content

Commit e6d6fa4

Browse files
tay1orjonesriddhybansalkennylam
authored
chore(datatable): remove duplicate setupGetInstanceId helper (#16990)
* chore(datatable): remove duplicate setupGetInstanceId helper * fix(tabletoolbarsearch): update setupGeetInstanceId path --------- Co-authored-by: Riddhi Bansal <[email protected]> Co-authored-by: kennylam <[email protected]>
1 parent 8bd7218 commit e6d6fa4

File tree

3 files changed

+2
-20
lines changed

3 files changed

+2
-20
lines changed

packages/react/src/components/DataTable/DataTable.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import { getCellId } from './tools/cells';
1515
import denormalize from './tools/denormalize';
1616
import { composeEventHandlers } from '../../tools/events';
1717
import { defaultFilterRows } from './tools/filter';
18-
import setupGetInstanceId from './tools/instanceId';
18+
import setupGetInstanceId from '../../tools/setupGetInstanceId';
1919
import Table from './Table';
2020
import TableActionList from './TableActionList';
2121
import TableBatchAction from './TableBatchAction';

packages/react/src/components/DataTable/TableToolbarSearch.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ import React, {
1717
RefObject,
1818
} from 'react';
1919
import Search, { SearchProps } from '../Search';
20+
import setupGetInstanceId from '../../tools/setupGetInstanceId';
2021
import { useId } from '../../internal/useId';
2122
import { usePrefix } from '../../internal/usePrefix';
2223
import { noopFn } from '../../internal/noopFn';

packages/react/src/components/DataTable/tools/instanceId.js

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)