Add submit button click handler in Book Now page to manage login dialog display #17

Merged
David merged 1 commits from fix/conflicts into master 2025-11-13 13:22:21 +00:00

View File

@ -88,6 +88,7 @@ export default function BookNowPage() {
const [error, setError] = useState<string | null>(null);
const [showLoginDialog, setShowLoginDialog] = useState(false);
// Handle submit button click
const handleSubmit = async (e: React.FormEvent) => {
e.preventDefault();
// Open login dialog instead of submitting directly