Skip to content

Commit 8d1d9cd

Browse files
committed
set usePickerMigrationWarnings in comment (#3121)
1 parent 751feb3 commit 8d1d9cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/picker/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import usePickerSelection from './helpers/usePickerSelection';
2222
import usePickerLabel from './helpers/usePickerLabel';
2323
import usePickerSearch from './helpers/usePickerSearch';
2424
import useImperativePickerHandle from './helpers/useImperativePickerHandle';
25-
import usePickerMigrationWarnings from './helpers/usePickerMigrationWarnings';
25+
// import usePickerMigrationWarnings from './helpers/usePickerMigrationWarnings';
2626
import {extractPickerItems} from './PickerPresenter';
2727
import {
2828
PickerProps,
@@ -107,7 +107,7 @@ const Picker = React.forwardRef((props: PickerProps, ref) => {
107107
const pickerExpandable = useRef<ExpandableOverlayMethods>(null);
108108

109109
// TODO: Remove this when migration is completed, starting of v8
110-
usePickerMigrationWarnings({children, migrate, getItemLabel, getItemValue});
110+
// usePickerMigrationWarnings({children, migrate, getItemLabel, getItemValue});
111111

112112
const pickerRef = useImperativePickerHandle(ref, pickerExpandable);
113113
const {

0 commit comments

Comments
 (0)