Skip to content

Commit

Permalink
Fixes the showBuildingblock alerts by adding in the React.memo property
Browse files Browse the repository at this point in the history
  • Loading branch information
FrankHassanabad committed Jul 30, 2020
1 parent 97ed74c commit a6659d9
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -223,5 +223,6 @@ export const AlertsUtilityBar = React.memo(
prevProps.areEventsLoading === nextProps.areEventsLoading &&
prevProps.selectedEventIds === nextProps.selectedEventIds &&
prevProps.totalCount === nextProps.totalCount &&
prevProps.showClearSelection === nextProps.showClearSelection
prevProps.showClearSelection === nextProps.showClearSelection &&
prevProps.showBuildingBlockAlerts === nextProps.showBuildingBlockAlerts
);

0 comments on commit a6659d9

Please sign in to comment.