Skip to content

Commit 7f803bf

Browse files
ph-fritscheChristian24
authored andcommitted
prevent accidental import of wrong util
1 parent e36e922 commit 7f803bf

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Diff for: 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)