diff --git a/.env b/.env
index 949303d..51e90d8 100644
--- a/.env
+++ b/.env
@@ -118,4 +118,7 @@ REACT_APP_SHOW_ACCOUNT_DASH=1
REACT_APP_SHOW_SLIDER_BANNERS=0
# FOR MEDIA LINK
-REACT_APP_MEDIA_LINK='https://dev-media.wrenchboard.com'
\ No newline at end of file
+REACT_APP_MEDIA_LINK='https://dev-media.wrenchboard.com'
+
+# FOR FAMILY GAME LINK
+REACT_APP_FAM_GAME_LINK='https://games.wrenchboard.com'
\ No newline at end of file
diff --git a/.env.development b/.env.development
index 3e1b1be..0d41f9c 100644
--- a/.env.development
+++ b/.env.development
@@ -86,4 +86,7 @@ REACT_APP_SHOW_ACCOUNT_DASH=1
REACT_APP_SHOW_SLIDER_BANNERS=0
# FOR MEDIA LINK
-REACT_APP_MEDIA_LINK='https://dev-media.wrenchboard.com'
\ No newline at end of file
+REACT_APP_MEDIA_LINK='https://dev-media.wrenchboard.com'
+
+# FOR FAMILY GAME LINK
+REACT_APP_FAM_GAME_LINK='https://games.wrenchboard.com'
\ No newline at end of file
diff --git a/.env.production b/.env.production
index 615202b..04014b2 100644
--- a/.env.production
+++ b/.env.production
@@ -92,4 +92,7 @@ REACT_APP_SHOW_ACCOUNT_DASH=1
REACT_APP_SHOW_SLIDER_BANNERS=0
# FOR MEDIA LINK
-REACT_APP_MEDIA_LINK='https://media.wrenchboard.com'
\ No newline at end of file
+REACT_APP_MEDIA_LINK='https://media.wrenchboard.com'
+
+# FOR FAMILY GAME LINK
+REACT_APP_FAM_GAME_LINK='https://games.wrenchboard.com'
\ No newline at end of file
diff --git a/src/Routers.jsx b/src/Routers.jsx
index f1b658b..e8466e5 100644
--- a/src/Routers.jsx
+++ b/src/Routers.jsx
@@ -66,6 +66,7 @@ import FamWorkInProgressPage from "./views/FamWorkInProgressPage";
import MyPastDueTasksPage from "./views/MyPastDueTasksPage";
import FamilyWalletPage from "./views/FamilyWalletPage";
import FamilyActivitiesPage from "./views/FamilyActivitiesPage";
+import FamGamesPage from "./views/FamGamesPage";
export default function Routers() {
return (
@@ -144,6 +145,7 @@ export default function Routers() {
} />
} />
} />
+ } />
} />
+
+ )
+}
diff --git a/src/components/MyActiveJobs/ActiveJobsMedia.jsx b/src/components/MyActiveJobs/ActiveJobsMedia.jsx
index 3e545eb..a40f143 100644
--- a/src/components/MyActiveJobs/ActiveJobsMedia.jsx
+++ b/src/components/MyActiveJobs/ActiveJobsMedia.jsx
@@ -273,8 +273,7 @@ function ActiveJobsMedia(props) {
return (
{/* job title */}
{/*
diff --git a/src/components/Partials/MediaHeader.jsx b/src/components/Partials/MediaHeader.jsx
index a167768..612b775 100644
--- a/src/components/Partials/MediaHeader.jsx
+++ b/src/components/Partials/MediaHeader.jsx
@@ -19,7 +19,7 @@ import TimeDifference from "../Helpers/TimeDifference";
const DEFAULT_PROFILE_IMAGE = require("../../assets/images/profile.jpg");
-export default function MediaHeader({ logoutModalHandler, sidebarHandler, backpath, state, title }) {
+export default function MediaHeader({ logoutModalHandler, sidebarHandler, backpath, title }) {
const darkMode = useContext(DarkModeContext);
@@ -172,7 +172,6 @@ export default function MediaHeader({ logoutModalHandler, sidebarHandler, backpa
onClick={() => {
if (backpath == "/manage-family") {
navigate(backpath,
- { state: { ...state} },
{ replace: true }
);
} else {
diff --git a/src/components/Partials/MediaLayout.jsx b/src/components/Partials/MediaLayout.jsx
index f76d824..8869d76 100644
--- a/src/components/Partials/MediaLayout.jsx
+++ b/src/components/Partials/MediaLayout.jsx
@@ -10,7 +10,7 @@ import RightSideBar from "./RightSideBar";
import Sidebar from "./Sidebar";
import MediaHeader from "./MediaHeader";
-export default function MediaLayout({backpath, title, state, children }) {
+export default function MediaLayout({backpath, title, children }) {
const { drawer } = useSelector((state) => state.drawer);
const { userJobList } = useSelector((state) => state.userJobList);
const dispatch = useDispatch();
@@ -69,7 +69,7 @@ export default function MediaLayout({backpath, title, state, children }) {