Skip to content

Commit 2d376b1

Browse files
Update src/UniqueProvider/useTargetState.ts
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent 6509c4a commit 2d376b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/UniqueProvider/useTargetState.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export default function useTargetState(): [
5151
// Animation enter completed, check if there are pending options
5252
setIsAnimating(false);
5353
if (pendingOptionsRef.current) {
54-
// Apply pending options - Use functional update to ensure re-render is triggered
54+
// Apply pending options
5555
setOptions(pendingOptionsRef.current);
5656
pendingOptionsRef.current = null;
5757
}

0 commit comments

Comments
 (0)