Skip to content

Commit

Permalink
refactor: change register form to react hook form (#332)
Browse files Browse the repository at this point in the history

Co-authored-by: gab-gil <[email protected]>
Co-authored-by: Samuel Therrien <[email protected]>
  • Loading branch information
3 people authored Dec 17, 2024
1 parent d2e431a commit fab14cc
Show file tree
Hide file tree
Showing 5 changed files with 132 additions and 193 deletions.
17 changes: 17 additions & 0 deletions canopeum_frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions canopeum_frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"nswag": "^14.1.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-hook-form": "^7.54.1",
"react-i18next": "^14.1.0",
"react-map-gl": "^7.1.7",
"react-router-dom": "^6.22.3",
Expand Down
5 changes: 5 additions & 0 deletions canopeum_frontend/src/constants/style.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
const invalidFieldClass = 'is-invalid'

export const formClasses = {
invalidFieldClass,
}
Loading

0 comments on commit fab14cc

Please sign in to comment.