'use client'; import React, { useEffect, useState } from 'react'; import Header from '../../components/custom/header'; import Footer from '../../components/custom/footer'; import Profile from '@/components/custom/Profile'; import PreviousTickets from '@/components/PreviousTickets'; const ProfilePage: React.FC = () => { const [isClient, setIsClient] = useState(false); const [isAuth, setAuth] = useState(false); useEffect(() => { // This ensures the component renders only on the client side setIsClient(true); }, []); useEffect(() => {}); return ( <>
{/* Video Background */} {isClient && ( )} {/* Dark Overlay for Enhanced Readability */}
{/* Render PreviousTickets component with appropriate props */}
); }; export default ProfilePage;