Skip to content

Commit

Permalink
chore: commit save point
Browse files Browse the repository at this point in the history
  • Loading branch information
artmsilva committed Jun 7, 2024
1 parent 2b02811 commit 5094b01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/kit/src/scrim/Scrim.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ export const Scrim = React.forwardRef<HTMLDivElement, ScrimProps>(
}, [open]);

const handleAnimationEnd = () => {
if (!open) {
if (!isPending && !open) {
setShouldRender(false);
}
};
Expand Down

0 comments on commit 5094b01

Please sign in to comment.