diff --git a/app/src/organisms/RunProgressMeter/index.tsx b/app/src/organisms/RunProgressMeter/index.tsx index 47838a0bb47..4c7c92f5bd8 100644 --- a/app/src/organisms/RunProgressMeter/index.tsx +++ b/app/src/organisms/RunProgressMeter/index.tsx @@ -42,10 +42,7 @@ import { ProgressBar } from '../../atoms/ProgressBar' import { useDownloadRunLog, useRobotType } from '../Devices/hooks' import { InterventionTicks } from './InterventionTicks' import { isInterventionCommand } from '../InterventionModal/utils' -import { - useNotifyLastRunCommand, - useNotifyRunQuery, -} from '../../resources/runs' +import { useNotifyRunQuery } from '../../resources/runs' import type { RunStatus } from '@opentrons/api-client' @@ -82,7 +79,7 @@ export function RunProgressMeter(props: RunProgressMeterProps): JSX.Element { pageLength: 1, }) const analysisCommands = analysis?.commands ?? [] - const lastRunCommand = useNotifyLastRunCommand(runId) + const lastRunCommand = allCommandsQueryData?.data[0] ?? null const runCommandsLength = allCommandsQueryData?.meta.totalLength const downloadIsDisabled =