Skip to content

Commit

Permalink
Revert "deselect all wells when confirming form"
Browse files Browse the repository at this point in the history
This reverts commit cf07797.
  • Loading branch information
ncdiehl11 committed Nov 14, 2024
1 parent cf07797 commit 48a2f10
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@ export const SelectableLabware = (props: Props): JSX.Element => {
rect
) => {
const wells = _wellsFromSelected(_getWellsFromRect(rect))
console.log(wells)
const areWellsAlreadySelected = Object.keys(wells).every(
well => well in selectedPrimaryWells
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -233,10 +233,7 @@ export function LiquidToolbox(props: LiquidToolboxProps): JSX.Element {
</StyledText>
}
confirmButtonText={t('shared:done')}
onConfirmClick={() => {
dispatch(deselectAllWells())
onClose()
}}
onConfirmClick={onClose}
onCloseClick={handleClearSelectedWells}
height="calc(100vh - 64px)"
closeButton={
Expand Down

0 comments on commit 48a2f10

Please sign in to comment.