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 ea9e47b commit 79566eeCopy full SHA for 79566ee
src/UniqueProvider/useTargetState.ts
@@ -34,7 +34,7 @@ export default function useTargetState(): [
34
pendingOptionsRef.current = nextOptions;
35
} else {
36
setOpen(true);
37
- // Use functional update to ensure re-render is always triggered
+ // Set new options
38
setOptions(nextOptions);
39
pendingOptionsRef.current = null;
40
0 commit comments