fix edge cases in step switching, delete prints #1188
lint.yml
on: push
Run ESLint (sponsor)
41s
Run ESLint (admin)
43s
Run ESLint (api)
44s
Run ESLint (app)
47s
Annotations
2 errors and 3 warnings
Run ESLint (app):
apps/app/src/components/RegistrationForms/GeneralRegistrationForm/GeneralRegistrationForm.tsx#L63
'nextStep' is never reassigned. Use 'const' instead
|
Run ESLint (app)
Process completed with exit code 1.
|
Run ESLint (app):
apps/app/src/components/RegistrationForms/FirstStepRegistrationForm/FirstStepRegistrationForm.tsx#L91
React Hook useEffect has missing dependencies: 'allFieldsAreFilled' and 'validateFirstStep'. Either include them or remove the dependency array
|
Run ESLint (app):
apps/app/src/components/RegistrationForms/SecondStepRegistrationForm/SecondStepRegistrationForm.module.tsx#L96
React Hook useEffect has missing dependencies: 'allFieldsAreFilled' and 'validateSecondStep'. Either include them or remove the dependency array
|
Run ESLint (app):
apps/app/src/providers/RegistrationContext.tsx#L64
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
|