Skip to content

Clean up GenderSelector #13621

Clean up GenderSelector

Clean up GenderSelector #13621

Triggered via pull request January 22, 2025 11:16
Status Success
Total duration 17m 46s
Artifacts

ruby.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 warnings
test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test: app/webpacker/components/RegistrationsV2/Register/CompetingStep.jsx#L175
The 'actionCreateRegistration' function makes the dependencies of useCallback Hook (at line 264) change on every render. Move it inside the useCallback callback. Alternatively, wrap the definition of 'actionCreateRegistration' in its own useCallback() Hook.
test: app/webpacker/components/RegistrationsV2/Register/CompetingStep.jsx#L187
The 'actionUpdateRegistration' function makes the dependencies of useCallback Hook (at line 264) change on every render. Move it inside the useCallback callback. Alternatively, wrap the definition of 'actionUpdateRegistration' in its own useCallback() Hook.
test: app/webpacker/components/RegistrationsV2/Register/CompetingStep.jsx#L211
The 'actionReRegister' function makes the dependencies of useCallback Hook (at line 264) change on every render. Move it inside the useCallback callback. Alternatively, wrap the definition of 'actionReRegister' in its own useCallback() Hook.