Skip to content

Commit

Permalink
post-review cfixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ncdiehl11 committed Aug 7, 2024
1 parent d47c4f1 commit 315596e
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 7 deletions.
3 changes: 1 addition & 2 deletions app/src/atoms/buttons/FloatingActionButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ import type { IconName } from '@opentrons/components'
interface FloatingActionButtonProps extends React.ComponentProps<typeof Btn> {
buttonText: string
disabled?: boolean
iconName?: IconName | null
onClick: React.MouseEventHandler
iconName?: IconName
}

export function FloatingActionButton(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ export function SetupLabwareMap({
if (topLabwareDefinition != null) {
setLabwareStackDetailsLabwareId(topLabwareId)
}
console.log('TESTING')
}}
cursor="pointer"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ export function SetupLiquidsMap(
onClick={() => {
if (labwareHasLiquid) {
setLiquidDetailsLabwareId(topLabwareId)
console.log('test click')
}
}}
cursor={labwareHasLiquid ? 'pointer' : ''}
Expand Down Expand Up @@ -174,7 +173,6 @@ export function SetupLiquidsMap(
onClick={() => {
if (labwareHasLiquid) {
setLiquidDetailsLabwareId(topLabwareId)
console.log('TEST CLICK')
}
}}
cursor={labwareHasLiquid ? 'pointer' : ''}
Expand Down
2 changes: 0 additions & 2 deletions app/src/organisms/ProtocolSetupLabware/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,6 @@ export function ProtocolSetupLabware({
}
}
}
console.log({ topLabwareId })
const selectedLabwareLocation = selectedLabware?.location
return (
<>
Expand Down Expand Up @@ -371,7 +370,6 @@ export function ProtocolSetupLabware({
</Flex>
<FloatingActionButton
buttonText={showMapView ? t('list_view') : t('map_view')}
iconName={null}
onClick={() => {
setShowMapView(mapView => !mapView)
}}
Expand Down

0 comments on commit 315596e

Please sign in to comment.