diff --git a/awx/ui_next/src/screens/Inventory/InventoryGroupHosts/AssociateModal.jsx b/awx/ui_next/src/screens/Inventory/InventoryGroupHosts/AssociateModal.jsx index 1979f4f756..7af059e799 100644 --- a/awx/ui_next/src/screens/Inventory/InventoryGroupHosts/AssociateModal.jsx +++ b/awx/ui_next/src/screens/Inventory/InventoryGroupHosts/AssociateModal.jsx @@ -6,7 +6,7 @@ import { Button, Modal } from '@patternfly/react-core'; import OptionsList from '@components/Lookup/shared/OptionsList'; import useRequest from '@util/useRequest'; import { getQSConfig, parseQueryString } from '@util/qs'; -import useSelect from '../shared/useSelect'; +import useSelect from '@util/useSelect'; const QS_CONFIG = getQSConfig('associate', { page: 1, diff --git a/awx/ui_next/src/screens/Inventory/InventoryGroupHosts/InventoryGroupHostList.jsx b/awx/ui_next/src/screens/Inventory/InventoryGroupHosts/InventoryGroupHostList.jsx index 3f54e49c90..499468d654 100644 --- a/awx/ui_next/src/screens/Inventory/InventoryGroupHosts/InventoryGroupHostList.jsx +++ b/awx/ui_next/src/screens/Inventory/InventoryGroupHosts/InventoryGroupHostList.jsx @@ -9,6 +9,7 @@ import useRequest, { useDeleteItems, useDismissableError, } from '@util/useRequest'; +import useSelect from '@util/useSelect'; import AlertModal from '@components/AlertModal'; import DataListToolbar from '@components/DataListToolbar'; import ErrorDetail from '@components/ErrorDetail'; @@ -17,7 +18,6 @@ import InventoryGroupHostListItem from './InventoryGroupHostListItem'; import AssociateModal from './AssociateModal'; import AddHostDropdown from './AddHostDropdown'; import DisassociateButton from './DisassociateButton'; -import useSelect from '../shared/useSelect'; const QS_CONFIG = getQSConfig('host', { page: 1, diff --git a/awx/ui_next/src/screens/Inventory/shared/useSelect.jsx b/awx/ui_next/src/util/useSelect.jsx similarity index 100% rename from awx/ui_next/src/screens/Inventory/shared/useSelect.jsx rename to awx/ui_next/src/util/useSelect.jsx diff --git a/awx/ui_next/src/screens/Inventory/shared/useSelect.test.jsx b/awx/ui_next/src/util/useSelect.test.jsx similarity index 100% rename from awx/ui_next/src/screens/Inventory/shared/useSelect.test.jsx rename to awx/ui_next/src/util/useSelect.test.jsx