import * as React from "react"; import Header from '@/components/Header'; import Footer from '@/components/Footer'; import CatalogSubscribe from '@/components/CatalogSubscribe'; import MobileMenuBottomSection from "@/components/MobileMenuBottomSection"; import LKMenu from '@/components/LKMenu'; import ProfileHistoryMain from '@/components/profile/ProfileHistoryMain'; import ProfileInfo from '@/components/profile/ProfileInfo'; import Head from "next/head"; import MetaTags from "@/components/MetaTags"; import { getMetaByPath } from "@/lib/meta-config"; const ProfileHistoryPage = () => { const menuRef = React.useRef(null); const [menuHeight, setMenuHeight] = React.useState(undefined); React.useEffect(() => { if (!menuRef.current) return; const updateHeight = () => { setMenuHeight(menuRef.current?.offsetHeight); }; updateHeight(); const observer = new window.ResizeObserver(updateHeight); observer.observe(menuRef.current); window.addEventListener('resize', updateHeight); return () => { observer.disconnect(); window.removeEventListener('resize', updateHeight); }; }, []); const metaData = getMetaByPath('/profile-history'); return ( <>
); }; export default ProfileHistoryPage;