Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(ui): safe call within useEffect teardown (#11135)
`NavProvider` useEffects teardown is trying to set `style` on an element that may not exist. The original code produces the following error:   Therefore, a condition has been added to check if `navRef.current` is truthy.
- Loading branch information