initial commit
This commit is contained in:
@@ -172,7 +172,7 @@ export default function MediaHeader({ logoutModalHandler, sidebarHandler, backpa
|
||||
onClick={() => {
|
||||
if (backpath == "/manage-family") {
|
||||
navigate(backpath,
|
||||
{ state: { ...state} },
|
||||
{ state: state ? { ...state } : {} },
|
||||
{ replace: true }
|
||||
);
|
||||
} else {
|
||||
|
||||
@@ -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} sidebarHandler={() => setMobileSidebar.toggle()} logoutModalHandler={logoutModalHandler} />
|
||||
<MediaHeader backpath={backpath} title={title} state={state ? state : ''} 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