We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6509c4a commit 2d376b1Copy full SHA for 2d376b1
src/UniqueProvider/useTargetState.ts
@@ -51,7 +51,7 @@ export default function useTargetState(): [
51
// Animation enter completed, check if there are pending options
52
setIsAnimating(false);
53
if (pendingOptionsRef.current) {
54
- // Apply pending options - Use functional update to ensure re-render is triggered
+ // Apply pending options
55
setOptions(pendingOptionsRef.current);
56
pendingOptionsRef.current = null;
57
}
0 commit comments