- Date Handling
You're passing the Date objects directly to
createEvent
, but they need to be converted to Unix timestamps first. Here's how to fix this:
const handleSubmit = (e: React.FormEvent) => {
e.preventDefault();
if (isConnected) {
setIsSubmitting(true);
if (validateForm()) {