Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: solve lint error type 'undefined' is not assignable to type 'N…
…ode' (#412) # Motivation Lint currently detects an error on `main`: ``` /Users/daviddalbusco/projects/dfinity/gix-components/src/lib/components/Tooltip.svelte:69:31 Error: Argument of type 'HTMLDivElement | undefined' is not assignable to parameter of type 'Node'. Type 'undefined' is not assignable to type 'Node'. (ts) // Move tooltip to the body to avoid it being cut off by overflow: hidden. document.body.appendChild(tooltipComponent); }); ```
- Loading branch information