Skip to content

Commit 2b1d48d

Browse files
authored
PWA-3463: Supressing noisy warnings on Select (#4505)
1 parent 83727ee commit 2b1d48d

File tree

1 file changed

+2
-6
lines changed
  • packages/venia-ui/lib/components/Select

1 file changed

+2
-6
lines changed

packages/venia-ui/lib/components/Select/select.js

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
import React, { Fragment } from 'react';
22
import { arrayOf, node, number, oneOfType, shape, string } from 'prop-types';
3-
import {
4-
Option as InformedOption,
5-
Select as InformedSelect,
6-
useFieldState
7-
} from 'informed';
8-
3+
import { Option as InformedOption, Select as InformedSelect } from 'informed';
4+
import useFieldState from '@magento/peregrine/lib/hooks/hook-wrappers/useInformedFieldStateWrapper';
95
import { useStyle } from '../../classify';
106
import { FieldIcons, Message } from '../Field';
117
import defaultClasses from './select.module.css';

0 commit comments

Comments
 (0)