Clean up GenderSelector #13621
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.
|