Skip to content

Commit

Permalink
chore(datatable): remove duplicate setupGetInstanceId helper (#16990)
Browse files Browse the repository at this point in the history
* chore(datatable): remove duplicate setupGetInstanceId helper

* fix(tabletoolbarsearch): update setupGeetInstanceId path

---------

Co-authored-by: Riddhi Bansal <41935566+riddhybansal@users.noreply.github.com>
Co-authored-by: kennylam <909118+kennylam@users.noreply.github.com>
  • Loading branch information
3 people committed Aug 9, 2024
1 parent 8bd7218 commit e6d6fa4
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 20 deletions.
2 changes: 1 addition & 1 deletion packages/react/src/components/DataTable/DataTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { getCellId } from './tools/cells';
import denormalize from './tools/denormalize';
import { composeEventHandlers } from '../../tools/events';
import { defaultFilterRows } from './tools/filter';
import setupGetInstanceId from './tools/instanceId';
import setupGetInstanceId from '../../tools/setupGetInstanceId';
import Table from './Table';
import TableActionList from './TableActionList';
import TableBatchAction from './TableBatchAction';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import React, {
RefObject,
} from 'react';
import Search, { SearchProps } from '../Search';
import setupGetInstanceId from '../../tools/setupGetInstanceId';
import { useId } from '../../internal/useId';
import { usePrefix } from '../../internal/usePrefix';
import { noopFn } from '../../internal/noopFn';
Expand Down
19 changes: 0 additions & 19 deletions packages/react/src/components/DataTable/tools/instanceId.js

This file was deleted.

0 comments on commit e6d6fa4

Please sign in to comment.