Skip to content

Commit 8c6f6f1

Browse files
committed
refactor(utils): restructure function utils
1 parent 83c5491 commit 8c6f6f1

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

packages/lumx-react/src/hooks/useCallbackOnEscape.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { DOCUMENT } from '@lumx/react/constants';
22
import { Callback } from '@lumx/react/utils/type';
33
import { onEscapePressed } from '@lumx/react/utils/event';
44
import { useEffect } from 'react';
5-
import { Listener, makeListenerTowerContext } from '@lumx/react/utils/makeListenerTowerContext';
5+
import { Listener, makeListenerTowerContext } from '@lumx/react/utils/function/makeListenerTowerContext';
66

77
const LISTENERS = makeListenerTowerContext();
88

packages/lumx-react/src/hooks/useFocusTrap.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { useEffect } from 'react';
33
import { DOCUMENT } from '@lumx/react/constants';
44
import { getFirstAndLastFocusable } from '@lumx/react/utils/focus/getFirstAndLastFocusable';
55
import { Falsy } from '@lumx/react/utils/type';
6-
import { Listener, makeListenerTowerContext } from '@lumx/react/utils/makeListenerTowerContext';
6+
import { Listener, makeListenerTowerContext } from '@lumx/react/utils/function/makeListenerTowerContext';
77

88
const FOCUS_TRAPS = makeListenerTowerContext();
99

0 commit comments

Comments
 (0)