diff --git a/src/components/Dashboard/Dashboard.tsx b/src/components/Dashboard/Dashboard.tsx index 201fcce8..fb4876af 100644 --- a/src/components/Dashboard/Dashboard.tsx +++ b/src/components/Dashboard/Dashboard.tsx @@ -1,7 +1,7 @@ import { useProfile } from "../../hooks/useProfile"; const Dashboard = () => { - const {profile,loading} = useProfile() + return ( <> @@ -13,7 +13,7 @@ const Dashboard = () => {
-
Congratulations {profile?.employeeInfo?.firstName }! 🎉
+
Congratulations User! 🎉

You have done 72% more sales today. Check your new badge in your profile. diff --git a/src/components/Project/Infrastructure/FloorModel.jsx b/src/components/Project/Infrastructure/FloorModel.jsx index 246bb51d..d66cae15 100644 --- a/src/components/Project/Infrastructure/FloorModel.jsx +++ b/src/components/Project/Infrastructure/FloorModel.jsx @@ -190,6 +190,7 @@ const FloorModel = ({ className="btn btn-sm btn-label-secondary" data-bs-dismiss="modal" aria-label="Close" + onClick={onclose} > Cancel