From 650bf4af5fc552884028772200d1ba6a325425c4 Mon Sep 17 00:00:00 2001 From: GitHub Date: Mon, 23 Dec 2024 21:51:51 +1100 Subject: [PATCH] fix esm test --- packages/@react-aria/interactions/src/usePress.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/@react-aria/interactions/src/usePress.ts b/packages/@react-aria/interactions/src/usePress.ts index 3dfbb2bc963..364aa305071 100644 --- a/packages/@react-aria/interactions/src/usePress.ts +++ b/packages/@react-aria/interactions/src/usePress.ts @@ -32,7 +32,7 @@ import { } from '@react-aria/utils'; import {disableTextSelection, restoreTextSelection} from './textSelection'; import {DOMAttributes, FocusableElement, PressEvent as IPressEvent, PointerType, PressEvents, RefObject} from '@react-types/shared'; -import {getEventTarget} from '@react-aria/utils/src/shadowdom/DOMFunctions'; +import {getEventTarget} from '@react-aria/utils'; import {PressResponderContext} from './context'; import {TouchEvent as RTouchEvent, useContext, useEffect, useMemo, useRef, useState} from 'react';