Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: remove redundant observe call on unmount
This looks like a typo, `unobserve` should be called instead. Since `disconnect` is called right after it, it doesn't really have any effect, so we can remove it. Reading https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver/disconnect, `disconnect` should unobserve all observed elements.
- Loading branch information