fix: 解决有多个导航烂的问题

This commit is contained in:
zdl
2025-10-21 14:03:58 +08:00
parent 5a3a3ad42b
commit 31eb322ecc

View File

@@ -65,7 +65,8 @@ import EventHeader from './components/EventHeader';
import RelatedConcepts from './components/RelatedConcepts';
import HistoricalEvents from './components/HistoricalEvents';
import RelatedStocks from './components/RelatedStocks';
import HomeNavbar from '../../components/Navbars/HomeNavbar';
// Navigation bar now provided by MainLayout
// import HomeNavbar from '../../components/Navbars/HomeNavbar';
import SubscriptionUpgradeModal from '../../components/SubscriptionUpgradeModal';
import { useAuth } from '../../contexts/AuthContext';
import { useSubscription } from '../../hooks/useSubscription';
@@ -563,7 +564,7 @@ const EventDetail = () => {
// 主要内容
return (
<Box bg={bgColor} minH="100vh" w="100%">
<HomeNavbar />
{/* Navigation bar provided by MainLayout */}
<Container maxW="7xl" py={8}>
<VStack spacing={6} align="stretch">
{/* 事件基本信息 */}