Skip to content

Commit

Permalink
PR fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
smb2268 committed Aug 6, 2024
1 parent bfb78d2 commit ee7b580
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
8 changes: 2 additions & 6 deletions app/src/organisms/QuickTransferFlow/SelectDestWells.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ export function SelectDestWells(props: SelectDestWellsProps): JSX.Element {
left="0"
width="100%"
>
{state.destination != null && state.source != null ? (
{labwareDefinition != null ? (
<Flex
width={
labwareDefinition?.parameters.format === '384Standard'
Expand All @@ -165,11 +165,7 @@ export function SelectDestWells(props: SelectDestWellsProps): JSX.Element {
}
>
<WellSelection
definition={
state.destination === 'source'
? state.source
: state.destination
}
definition={labwareDefinition}
deselectWells={(wells: string[]) => {
setSelectedWells(prevWells =>
without(Object.keys(prevWells), ...wells).reduce(
Expand Down
3 changes: 0 additions & 3 deletions app/src/organisms/QuickTransferFlow/SelectSourceWells.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,10 @@ export function SelectSourceWells(props: SelectSourceWellsProps): JSX.Element {
if (Object.values(state.source.wells)[0].shape === 'circular') {
displayLabwareDefinition =
allDefinitions[CIRCULAR_WELL_96_PLATE_DEFINITION_URI]
console.log('circle')
} else {
displayLabwareDefinition =
allDefinitions[RECTANGULAR_WELL_96_PLATE_DEFINITION_URI]
console.log('rect')
}
console.log(displayLabwareDefinition)
}

return (
Expand Down

0 comments on commit ee7b580

Please sign in to comment.