Skip to content

Commit

Permalink
fix(rac): add console log to debug PLA-11344
Browse files Browse the repository at this point in the history
Change-Id: I1516c017a10695715d2df96a1112a02fe7435c08
GitOrigin-RevId: f6f1820af33c3f9d42985ce7c7b697d6c9ff4881
  • Loading branch information
sarahsga authored and actions-user committed Oct 28, 2024
1 parent 8927550 commit 3447edf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plasmicpkgs/react-aria/src/registerListBox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,12 @@ export function BaseListBox(props: BaseListBoxProps) {
);

useEffect(() => {
console.log("sarah useEffect", { setControlContextData, ids });
setControlContextData?.({
itemIds: ids,
isStandalone,
});
}, [ids, isStandalone]);
}, [ids, isStandalone, setControlContextData]);

useEffect(() => {
idManager.subscribe((_ids: string[]) => {
Expand Down

0 comments on commit 3447edf

Please sign in to comment.