Skip to content

Commit

Permalink
Fix group list updating. (#6748)
Browse files Browse the repository at this point in the history
Do not show in changelog
  • Loading branch information
D8H committed Jul 3, 2024
1 parent 377231f commit 98befc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion newIDE/app/src/ObjectGroupsList/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@ const arePropsEqual = (prevProps: Props, nextProps: Props): boolean =>
// from the component.
// If a change is made, the component won't notice it: you have to manually
// call forceUpdate.
prevProps.globalObjectGroups === nextProps.globalObjectGroups ||
prevProps.globalObjectGroups === nextProps.globalObjectGroups &&
prevProps.objectGroups === nextProps.objectGroups;

const MemoizedObjectGroupsList = React.memo<Props, ObjectGroupsListInterface>(
Expand Down

0 comments on commit 98befc8

Please sign in to comment.