Skip to content

Commit cbe1391

Browse files
committed
prevent accidental import of wrong util
1 parent 7a1e5c9 commit cbe1391

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/utils/focus/getActiveElement.ts

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
import {isDisabled} from '../misc/isDisabled'
22

3-
export function getActiveElement(
4-
document: Document | ShadowRoot,
5-
): Element | null {
3+
function getActiveElement(document: Document | ShadowRoot): Element | null {
64
const activeElement = document.activeElement
75

86
if (activeElement?.shadowRoot) {

0 commit comments

Comments
 (0)