fix: 移除 Detail.jsx 外层 motion.div,修复路由切换白屏问题
All checks were successful
Deploy to Server / deploy (push) Successful in 1m53s
All checks were successful
Deploy to Server / deploy (push) Successful in 1m53s
This commit is contained in:
@@ -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>
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user