added game link to env file
This commit is contained in:
@@ -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 ? { ...state } : {} },
|
||||
{ replace: true }
|
||||
);
|
||||
} else {
|
||||
|
||||
@@ -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 }) {
|
||||
<div className={`nft-header-container-wrapper flex-1 md:ml-12 xl:ml-[110px] h-full`}>
|
||||
{/* header */}
|
||||
<div className="nft-header w-full lg:h-[100px] h-[70px] default-border-bottom dark:border-[#292967] z-40 xl:sticky fixed top-0 left-0 ">
|
||||
<MediaHeader backpath={backpath} title={title} state={state ? state : ''} sidebarHandler={() => setMobileSidebar.toggle()} logoutModalHandler={logoutModalHandler} />
|
||||
<MediaHeader backpath={backpath} title={title} sidebarHandler={() => setMobileSidebar.toggle()} logoutModalHandler={logoutModalHandler} />
|
||||
</div>
|
||||
{/* container */}
|
||||
<div className="nft-container 2xl:flex 2xl:space-x-8 h-full mb-12 lg:mt-[140px] mt-24 xl:mt-10 flex flex-col xl:flex-row items-start justify-center gap-4">
|
||||
|
||||
Reference in New Issue
Block a user