diff --git a/services/web/frontend/js/features/share-project-modal/components/transfer-ownership-modal.js b/services/web/frontend/js/features/share-project-modal/components/transfer-ownership-modal.js index 50bf61b64a..adaf04297b 100644 --- a/services/web/frontend/js/features/share-project-modal/components/transfer-ownership-modal.js +++ b/services/web/frontend/js/features/share-project-modal/components/transfer-ownership-modal.js @@ -5,7 +5,7 @@ import PropTypes from 'prop-types' import Icon from '../../../shared/components/icon' import { transferProjectOwnership } from '../utils/api' import AccessibleModal from '../../../shared/components/accessible-modal' -import { reload } from '../utils/location' +import { reload } from '../../../shared/components/location' import { useProjectContext } from '../../../shared/context/project-context' export default function TransferOwnershipModal({ member, cancel }) { diff --git a/services/web/frontend/js/features/share-project-modal/utils/location.js b/services/web/frontend/js/shared/components/location.js similarity index 100% rename from services/web/frontend/js/features/share-project-modal/utils/location.js rename to services/web/frontend/js/shared/components/location.js diff --git a/services/web/test/frontend/features/share-project-modal/components/share-project-modal.test.js b/services/web/test/frontend/features/share-project-modal/components/share-project-modal.test.js index 2c036bc2dd..94957e17af 100644 --- a/services/web/test/frontend/features/share-project-modal/components/share-project-modal.test.js +++ b/services/web/test/frontend/features/share-project-modal/components/share-project-modal.test.js @@ -14,7 +14,7 @@ import { renderWithEditorContext, cleanUpContext, } from '../../../helpers/render-with-context' -import * as locationModule from '../../../../../frontend/js/features/share-project-modal/utils/location' +import * as locationModule from '../../../../../frontend/js/shared/components/location' import { EditorProviders, USER_EMAIL,