Skip to content

Commit

Permalink
fix: wrong merge
Browse files Browse the repository at this point in the history
  • Loading branch information
marcosmoura committed Aug 28, 2023
1 parent 06ae5c6 commit 83ef7e1
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,8 @@ function useMotionPresence<Element extends HTMLElement>(
ref,
type,
active,
canRender: type !== 'unmounted',
}),
// No need to add ref to the deps array as it is stable
// eslint-disable-next-line react-hooks/exhaustive-deps
[active, type],
Expand Down

0 comments on commit 83ef7e1

Please sign in to comment.