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

Updates contact form validation to match to backend #446

Merged
merged 6 commits into from
Nov 29, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
chore: installs dev dependencies
- hookform/devtools to debug the rhf forms
- babel/plugin-transform-unicode-regex to enable unicode regexp
mohitb35 committed Nov 9, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 3a59d74ec2e73485d265934392750675674722b5
3 changes: 2 additions & 1 deletion .babelrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"presets": ["next/babel"]
"presets": ["next/babel"],
"plugins": ["@babel/plugin-transform-unicode-regex"]
}
1,892 changes: 1,809 additions & 83 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -53,6 +53,8 @@
"zod": "^3.22.4"
},
"devDependencies": {
"@babel/plugin-transform-unicode-regex": "^7.22.5",
"@hookform/devtools": "^4.3.1",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this still necessary after you commented the import in the code below?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not needed. but it makes it easier to debug react hook form when necessary.

"@types/dom-to-image": "^2.6.2",
"@types/react": "^17.0.40",
"@types/react-dom": "^17.0.3",