Update TypeScript version and enhance ContactForm and email handling
- Upgraded TypeScript dependency from 5.7.3 to 5.8.3 for improved type checking and features. - Modified ContactForm component to include a hidden input for the domain, capturing the current hostname. - Updated API contact handling to log and utilize the domain information in email notifications. - Refactored email sending functions to conditionally include the domain in the sender's address for better context.
This commit is contained in:
2
package-lock.json
generated
2
package-lock.json
generated
@@ -67,7 +67,7 @@
|
||||
"sharp": "0.33.5",
|
||||
"tailwind-merge": "^2.6.0",
|
||||
"tailwindcss": "^3.4.17",
|
||||
"typescript": "^5.7.3",
|
||||
"typescript": "^5.8.3",
|
||||
"typescript-eslint": "^8.21.0",
|
||||
"unist-util-visit": "^5.0.0"
|
||||
},
|
||||
|
Reference in New Issue
Block a user