fix(onboarding): Add missing `useEffect` dependency (#49105)
This adds a missing dependency to the `useEffect` hook used in the `Onboarding` component, to keep the linter from complaining and blocking pre-commit hooks when unrelated changes are made to the file.