Skip to content

Commit

Permalink
Merge pull request Expensify#34161 from callstack-internal/quickfix/h…
Browse files Browse the repository at this point in the history
…overable-component-refactor

Quickfix: Hoverable refactor Expensify#33257
  • Loading branch information
mountiny authored Jan 9, 2024
2 parents 5d0931d + e751101 commit 5df6055
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Tooltip/BaseTooltip/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ function Tooltip(
(e: MouseEvent) => {
updateTargetAndMousePosition(e);
if (React.isValidElement(children)) {
children.props.onMouseEnter(e);
children.props.onMouseEnter?.(e);
}
},
[children, updateTargetAndMousePosition],
Expand Down
2 changes: 1 addition & 1 deletion src/pages/home/report/ReportActionItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,7 @@ function ReportActionItem(props) {
>
<Hoverable
shouldHandleScroll
disabled={!_.isUndefined(props.draftMessage)}
isDisabled={!_.isUndefined(props.draftMessage)}
>
{(hovered) => (
<View style={highlightedBackgroundColorIfNeeded}>
Expand Down

0 comments on commit 5df6055

Please sign in to comment.