Skip to content

Commit

Permalink
flow fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
b-cooper committed Sep 17, 2019
1 parent f7b0eab commit d6b7d0b
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app/src/components/CalibratePanel/LabwareGroup.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { selectors as robotSelectors } from '../../robot'

const TITLE = 'Labware Calibration'

type SP = {| title: string, disabled: boolean |}
type SP = {| title?: string, disabled?: boolean |}

type OP = $Rest<$Exact<React.ElementProps<typeof SidePanelGroup>>, SP>

Expand Down
2 changes: 1 addition & 1 deletion app/src/components/ChangePipette/Instructions.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export default function Instructions(props: ChangePipetteProps) {
>
{!actualPipette && !wantedPipette && (
<PipetteSelection
onChange={props.onPipetteSelect}
onPipetteChange={props.onPipetteSelect}
__pipettePlusEnabled={props.__pipettePlusEnabled}
/>
)}
Expand Down
2 changes: 1 addition & 1 deletion app/src/components/ChangePipette/PipetteSelection.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default function PipetteSelection(props: PipetteSelectionProps) {
<span className={styles.pipette_selection_label}>{LABEL}</span>
<PipetteSelect
value={props.value}
onPipetteChange={props.onChange}
onPipetteChange={props.onPipetteChange}
nameBlacklist={nameBlacklist}
/>
</label>
Expand Down
2 changes: 1 addition & 1 deletion app/src/components/ChangePipette/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ type SP = {|
type DP = {|
exit: () => mixed,
back: () => mixed,
onPipetteSelect: $PropertyType<PipetteSelectionProps, 'onChange'>,
onPipetteSelect: $PropertyType<PipetteSelectionProps, 'onPipetteChange'>,
moveToFront: () => mixed,
checkPipette: () => mixed,
goToConfirmUrl: () => mixed,
Expand Down
2 changes: 1 addition & 1 deletion app/src/components/ChangePipette/types.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export type ChangePipetteProps = {
exit: () => mixed,
setWantedName: (name: string | null) => mixed,
moveToFront: () => mixed,
onPipetteSelect: $PropertyType<PipetteSelectionProps, 'onChange'>,
onPipetteSelect: $PropertyType<PipetteSelectionProps, 'onPipetteChange'>,
checkPipette: () => mixed,
goToConfirmUrl: () => mixed,
__pipettePlusEnabled: boolean,
Expand Down

0 comments on commit d6b7d0b

Please sign in to comment.