Skip to content

Commit

Permalink
fix: animatepresence mode related: framer/motion#2023
Browse files Browse the repository at this point in the history
  • Loading branch information
zhanglun committed Jan 3, 2024
1 parent 7793ff5 commit 0ba9c47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/layout/Article/View.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export function View() {
</span>
<ReadingOptions />
</div>
<AnimatePresence mode="wait">
<AnimatePresence>
<motion.div
key={store.article?.uuid || "view"}
initial={{ y: 20, opacity: 0 }}
Expand Down

0 comments on commit 0ba9c47

Please sign in to comment.