Skip to content

Commit

Permalink
FocalPointPicker: fix typo to ensure setPosition is actually invoked
Browse files Browse the repository at this point in the history
  • Loading branch information
chad1008 committed Jun 15, 2022
1 parent e963825 commit 86ba326
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const FocalPointSettingsPanelMemo = memo(
</NavBar>
<FocalPointPicker
focalPoint={ draftFocalPoint }
onChange={ useCallback( () => setPosition, [] ) }
onChange={ useCallback( () => setPosition(), [] ) }
shouldEnableBottomSheetScroll={
shouldEnableBottomSheetScroll
}
Expand Down

0 comments on commit 86ba326

Please sign in to comment.