Skip to content

Add jsx to overcommit #13567

Add jsx to overcommit

Add jsx to overcommit #13567

Triggered via pull request January 20, 2025 12:41
Status Success
Total duration 16m 58s
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.