Skip to content

Commit

Permalink
fix coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
gonpombo8 committed Dec 13, 2024
1 parent fe2ae1f commit 71840fd
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions packages/@dcl/react-ecs/src/reconciler/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,11 +116,9 @@ export function createReconciler(
? pointerEvents.onPointerUp
: update.component === 'onMouseEnter'
? pointerEvents.onPointerHoverEnter
: update.component === 'onMouseLeave'
? pointerEvents.onPointerHoverLeave
: undefined
: update.component === 'onMouseLeave' && pointerEvents.onPointerHoverLeave

if (pointerEventSystem !== undefined) {
if (pointerEventSystem) {
pointerEventSystem(
{
entity: instance.entity,
Expand Down

0 comments on commit 71840fd

Please sign in to comment.