fix: 移除 Detail.jsx 外层 motion.div,修复路由切换白屏问题
All checks were successful
Deploy to Server / deploy (push) Successful in 1m53s

This commit is contained in:
爽哒哒
2026-03-22 00:39:29 +08:00
parent 96be8b9eee
commit 6aa8632704

View File

@@ -351,13 +351,7 @@ const ActivityDetail = () => {
};
return (
<motion.div
initial="initial"
animate="animate"
exit="exit"
variants={pageTransition}
style={{ background: '#1f1f1f', minHeight: '100vh', color: '#fff' }}
>
<div style={{ background: '#1f1f1f', minHeight: '100vh', color: '#fff' }}>
{/* Sticky Header */}
<motion.div
style={{
@@ -623,7 +617,7 @@ const ActivityDetail = () => {
</div>
</Modal>
</motion.div>
</div>
);
};