Skip to content

Commit

Permalink
Add Submit button
Browse files Browse the repository at this point in the history
  • Loading branch information
gupta-arpan committed May 30, 2023
1 parent 8882f91 commit 60cd3fe
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/components/RestaurantDetailsForm.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import RestaurantLocationSearch from "./RestaurantLocationSearch";
import { useState } from "react";
import Location from "./Location";
import { Link } from "react-router-dom";

function RestaurantDetails() {
const [restaurantLocation, setRestaurantLocation] = useState({
Expand Down Expand Up @@ -152,6 +153,13 @@ function RestaurantDetails() {
</button>
</div>
</div>
<div className="flex items-center justify-center mt-10">
<Link to={"/restaurant-dashboard"}>
<button className="bg-primary text-sm w-32 h-10 rounded-lg text-white">
Submit
</button>
</Link>
</div>
</div>
);
}
Expand Down

0 comments on commit 60cd3fe

Please sign in to comment.