Skip to content

Commit

Permalink
form 2
Browse files Browse the repository at this point in the history
  • Loading branch information
mukilan2815 committed Jun 21, 2024
1 parent f7ebb36 commit 76914ea
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Pages/Client/Membershipform.jsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import React, { useState } from "react";
import Header from "../../Assets/Formheader.png";
import Navbar from "../../Components/Navbar";

import { useNavigate } from "react-router-dom";
const Membershipform = () => {
const navigate = useNavigate();
const currentDate = new Date().toLocaleDateString();
const currentYear = new Date().getFullYear();

Expand Down Expand Up @@ -114,6 +115,7 @@ const Membershipform = () => {
website: formData.website || "Not provided",
};
console.log("Form submitted:", formDataWithDefaults);
navigate("/membershipform2");
};

return (
Expand Down

0 comments on commit 76914ea

Please sign in to comment.