Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Wxh16144 committed May 20, 2024
1 parent ff319c8 commit 2d90b87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Dom/findDOMNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export function isDOM(node: any): node is HTMLElement | SVGElement {
}

/**
* Retrieves a DOM node via a ref., and does not invoke `findDOMNode`.
* Retrieves a DOM node via a ref, and does not invoke `findDOMNode`.
*/
export function getDomNode(node: any): node is HTMLElement | SVGElement {
if (node && typeof node === 'object' && isDOM(node.nativeElement)) {
Expand Down

0 comments on commit 2d90b87

Please sign in to comment.