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 (
|
return (
|
||||||
<motion.div
|
<div style={{ background: '#1f1f1f', minHeight: '100vh', color: '#fff' }}>
|
||||||
initial="initial"
|
|
||||||
animate="animate"
|
|
||||||
exit="exit"
|
|
||||||
variants={pageTransition}
|
|
||||||
style={{ background: '#1f1f1f', minHeight: '100vh', color: '#fff' }}
|
|
||||||
>
|
|
||||||
{/* Sticky Header */}
|
{/* Sticky Header */}
|
||||||
<motion.div
|
<motion.div
|
||||||
style={{
|
style={{
|
||||||
@@ -623,7 +617,7 @@ const ActivityDetail = () => {
|
|||||||
</div>
|
</div>
|
||||||
</Modal>
|
</Modal>
|
||||||
|
|
||||||
</motion.div>
|
</div>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user