Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deduplicate the FormValidation.tsx files #68

Open
sifelix opened this issue Apr 21, 2023 · 0 comments · Fixed by #157
Open

Deduplicate the FormValidation.tsx files #68

sifelix opened this issue Apr 21, 2023 · 0 comments · Fixed by #157

Comments

@sifelix
Copy link
Collaborator

sifelix commented Apr 21, 2023

In the frontend, There is a lot of code duplication between FloodFormValidation.tsx DroughtFormValidation.tsx and IncidentFormValidation.tsx.

It was made this way because it is easier to type but it should be refactored to facilitate the maintenance.

@ericboucher ericboucher linked a pull request Jul 27, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants