diff --git a/app/src/organisms/ErrorRecoveryFlows/ErrorRecoveryWizard.tsx b/app/src/organisms/ErrorRecoveryFlows/ErrorRecoveryWizard.tsx index cd5973232ca..e10bab88c5a 100644 --- a/app/src/organisms/ErrorRecoveryFlows/ErrorRecoveryWizard.tsx +++ b/app/src/organisms/ErrorRecoveryFlows/ErrorRecoveryWizard.tsx @@ -18,7 +18,7 @@ import { ManageTips, } from './RecoveryOptions' import { RecoveryInProgress } from './RecoveryInProgress' -import { getErrorKind } from './hooks' +import { getErrorKind } from './utils' import { RECOVERY_MAP } from './constants' import type { RobotType } from '@opentrons/shared-data' diff --git a/app/src/organisms/ErrorRecoveryFlows/RunPausedSplash.tsx b/app/src/organisms/ErrorRecoveryFlows/RunPausedSplash.tsx index c35bbba6471..a7ae38c9303 100644 --- a/app/src/organisms/ErrorRecoveryFlows/RunPausedSplash.tsx +++ b/app/src/organisms/ErrorRecoveryFlows/RunPausedSplash.tsx @@ -20,7 +20,8 @@ import { } from '@opentrons/components' import { getIsOnDevice } from '../../redux/config' -import { getErrorKind, useErrorName } from './hooks' +import { useErrorName } from './hooks' +import { getErrorKind } from './utils' import { LargeButton } from '../../atoms/buttons' import { RECOVERY_MAP } from './constants' import { StepInfo } from './shared' diff --git a/app/src/organisms/ErrorRecoveryFlows/hooks/index.ts b/app/src/organisms/ErrorRecoveryFlows/hooks/index.ts index 167dc1847d9..8bb482cb1aa 100644 --- a/app/src/organisms/ErrorRecoveryFlows/hooks/index.ts +++ b/app/src/organisms/ErrorRecoveryFlows/hooks/index.ts @@ -1,4 +1,3 @@ -export { getErrorKind } from './getErrorKind' export { useCurrentlyRecoveringFrom } from './useCurrentlyRecoveringFrom' export { useErrorMessage } from './useErrorMessage' export { useErrorName } from './useErrorName' diff --git a/app/src/organisms/ErrorRecoveryFlows/hooks/useERUtils.ts b/app/src/organisms/ErrorRecoveryFlows/hooks/useERUtils.ts index 21720f30e31..1aa5ba7cfda 100644 --- a/app/src/organisms/ErrorRecoveryFlows/hooks/useERUtils.ts +++ b/app/src/organisms/ErrorRecoveryFlows/hooks/useERUtils.ts @@ -5,7 +5,7 @@ import { useRecoveryCommands } from './useRecoveryCommands' import { useRecoveryTipStatus } from './useRecoveryTipStatus' import { useRecoveryRouting } from './useRecoveryRouting' import { useFailedLabwareUtils } from './useFailedLabwareUtils' -import { getFailedCommandPipetteInfo } from './getFailedCommandPipetteInfo' +import { getFailedCommandPipetteInfo } from '../utils' import { useRecoveryMapUtils } from './useRecoveryMapUtils' import { useNotifyAllCommandsQuery, diff --git a/app/src/organisms/ErrorRecoveryFlows/hooks/__tests__/getErrorKind.test.ts b/app/src/organisms/ErrorRecoveryFlows/utils/__tests__/getErrorKind.test.ts similarity index 100% rename from app/src/organisms/ErrorRecoveryFlows/hooks/__tests__/getErrorKind.test.ts rename to app/src/organisms/ErrorRecoveryFlows/utils/__tests__/getErrorKind.test.ts diff --git a/app/src/organisms/ErrorRecoveryFlows/hooks/__tests__/getFailedCommandPipetteInfo.test.ts b/app/src/organisms/ErrorRecoveryFlows/utils/__tests__/getFailedCommandPipetteInfo.test.ts similarity index 100% rename from app/src/organisms/ErrorRecoveryFlows/hooks/__tests__/getFailedCommandPipetteInfo.test.ts rename to app/src/organisms/ErrorRecoveryFlows/utils/__tests__/getFailedCommandPipetteInfo.test.ts diff --git a/app/src/organisms/ErrorRecoveryFlows/hooks/getErrorKind.ts b/app/src/organisms/ErrorRecoveryFlows/utils/getErrorKind.ts similarity index 100% rename from app/src/organisms/ErrorRecoveryFlows/hooks/getErrorKind.ts rename to app/src/organisms/ErrorRecoveryFlows/utils/getErrorKind.ts diff --git a/app/src/organisms/ErrorRecoveryFlows/hooks/getFailedCommandPipetteInfo.ts b/app/src/organisms/ErrorRecoveryFlows/utils/getFailedCommandPipetteInfo.ts similarity index 100% rename from app/src/organisms/ErrorRecoveryFlows/hooks/getFailedCommandPipetteInfo.ts rename to app/src/organisms/ErrorRecoveryFlows/utils/getFailedCommandPipetteInfo.ts diff --git a/app/src/organisms/ErrorRecoveryFlows/utils/index.ts b/app/src/organisms/ErrorRecoveryFlows/utils/index.ts new file mode 100644 index 00000000000..c9fc58a2563 --- /dev/null +++ b/app/src/organisms/ErrorRecoveryFlows/utils/index.ts @@ -0,0 +1,2 @@ +export { getErrorKind } from './getErrorKind' +export { getFailedCommandPipetteInfo } from './getFailedCommandPipetteInfo'