Removed redundant export

This commit is contained in:
Furkan Kalaycioglu
2022-04-24 02:58:46 +03:00
parent e3b6befc5b
commit 73118c356c
+1 -1
View File
@@ -41,7 +41,7 @@ function getParentNodePosition(nodeInternals: NodeInternals, nodeId?: string): X
}; };
} }
export function selectorExistsTargetToNode(target: Element, selector: string, nodeRef: RefObject<Element>): boolean { function selectorExistsTargetToNode(target: Element, selector: string, nodeRef: RefObject<Element>): boolean {
let current = target; let current = target;
do { do {
if (current?.matches(selector)) return true; if (current?.matches(selector)) return true;