Skip to content

Commit

Permalink
slight edits made for better formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
nneni committed Oct 5, 2024
1 parent d4387c1 commit ac7c528
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/client/app/components/ThreeDPillComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export default function ThreeDPillComponent() {
meterOrGroup: singlePill.meterOrGroup
}));
}
}, [meterPillData, groupPillData, dispatch]);
}, [meterPillData, groupPillData]);

// When a Pill Badge is clicked update threeD state to indicate new meter or group to render.
const handlePillClick = (pillData: MeterOrGroupPill) => dispatch(
Expand All @@ -62,7 +62,6 @@ export default function ThreeDPillComponent() {
})
);


// Method Generates Reactstrap Pill Badges for selected meters or groups
const populatePills = (meterOrGroupPillData: MeterOrGroupPill[]) => {
return meterOrGroupPillData.map(pillData => {
Expand Down

0 comments on commit ac7c528

Please sign in to comment.