added close fun for addFloor model

This commit is contained in:
Pramod Mahajan 2025-04-08 18:32:28 +05:30
parent 57cf750d62
commit e8aa2ae718
2 changed files with 3 additions and 2 deletions

View File

@ -1,7 +1,7 @@
import { useProfile } from "../../hooks/useProfile";
const Dashboard = () => {
const {profile,loading} = useProfile()
return (
<>
@ -13,7 +13,7 @@ const Dashboard = () => {
<div className="d-flex align-items-end row">
<div className="col-sm-7">
<div className="card-body">
<h5 className="card-title text-primary">Congratulations {profile?.employeeInfo?.firstName }! 🎉</h5>
<h5 className="card-title text-primary">Congratulations User! 🎉</h5>
<p className="mb-4">
You have done <span className="fw-bold">72%</span> more sales today. Check your new badge in
your profile.

View File

@ -190,6 +190,7 @@ const FloorModel = ({
className="btn btn-sm btn-label-secondary"
data-bs-dismiss="modal"
aria-label="Close"
onClick={onclose}
>
Cancel
</button>