Skip to content

Commit

Permalink
fix(app): fix MoveInterventionModal labware begin location not updati…
Browse files Browse the repository at this point in the history
…ng properly
  • Loading branch information
mjhuff committed Sep 19, 2024
1 parent 65b0d7f commit d79284e
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions app/src/organisms/InterventionModal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ export function InterventionModal({
const isOnDevice = useSelector(getIsOnDevice)

const robotType = useRobotType(robotName)
const childContent = React.useMemo(() => {
const childContent = (() => {
switch (command.commandType) {
case 'waitForResume':
case 'pause': // legacy pause command
Expand All @@ -136,12 +136,7 @@ export function InterventionModal({
)
return null
}
}, [
command.id,
analysis?.status,
run.labware.map(l => l.id).join(),
run.modules.map(m => m.id).join(),
])
})()

const { iconName, headerTitle, headerTitleOnDevice } = (() => {
switch (command.commandType) {
Expand Down

0 comments on commit d79284e

Please sign in to comment.