Skip to content

Commit ae285ba

Browse files
committed
fix lint
1 parent 2500d6e commit ae285ba

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

packages/@react-aria/utils/src/runAfterTransition.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
// bugs, e.g. Chrome sometimes fires both transitionend and transitioncancel rather
1717
// than one or the other. So we need to track what's actually transitioning so that
1818
// we can ignore these duplicate events.
19-
import {getEventTarget} from '@react-aria/utils';
19+
import {getEventTarget} from './shadowdom/DOMFunctions';
2020
let transitionsByElement = new Map<EventTarget, Set<string>>();
2121

2222
// A list of callbacks to call once there are no transitioning elements.

packages/@react-aria/utils/src/useViewportSize.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
* governing permissions and limitations under the License.
1111
*/
1212

13-
import {getEventTarget} from '@react-aria/utils';
1413
import {useEffect, useState} from 'react';
1514
import {useIsSSR} from '@react-aria/ssr';
15+
import {getEventTarget} from './shadowdom/DOMFunctions';
1616
import {willOpenKeyboard} from './keyboard';
1717

1818
interface ViewportSize {

0 commit comments

Comments
 (0)