Skip to content

Commit

Permalink
fix(app): fix double rendering labware in basedeck component (#14011)
Browse files Browse the repository at this point in the history
Closes RQA-1899

Adds logic to prevent duplicate rendering of labware if it has already been rendered on top of a
module.
  • Loading branch information
mjhuff authored Nov 16, 2023
1 parent 76cb53b commit 5ec4cb3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/src/organisms/LabwarePositionCheck/PrepareSpace.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,9 @@ export const PrepareSpace = (props: PrepareSpaceProps): JSX.Element | null => {
labwareLocation: location,
definition: labwareDef,
},
]}
].filter(
() => !('moduleModel' in location && location.moduleModel != null)
)}
deckConfig={deckConfig}
/>
</Flex>
Expand Down

0 comments on commit 5ec4cb3

Please sign in to comment.