Skip to content

Commit

Permalink
fix: remove event click in piechart
Browse files Browse the repository at this point in the history
  • Loading branch information
tungnguyendinh committed Aug 13, 2024
1 parent 9cb648c commit e5b6275
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export default function OverviewHeader({ data }: Props) {
height={24}
width={24}
/>
<StyledCard.Title>{t("actionType")}</StyledCard.Title>
<StyledCard.Title>{t("govAction.actionType")}</StyledCard.Title>
<StyledCard.Value>{actionsType}</StyledCard.Value>
</StyledCard.Container>
</Grid>
Expand Down
9 changes: 7 additions & 2 deletions src/components/Overview/ChartOverview/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -128,15 +128,20 @@ const ChartOverview = (props: TypeProps) => {
dy={-10}
value="Total"
position="centerBottom"
style={{ fontSize: "12px", fill: theme.mode === "light" ? "#737373" : "#fff" }}
style={{
fontSize: "12px",
fill: theme.mode === "light" ? "#737373" : "#fff",
pointerEvents: "none"
}}
/>
<Label
value={totalGovActions}
position="centerTop"
style={{
fontSize: "28px",
fill: theme.mode === "light" ? "#24262E" : "#fff",
fontWeight: "bold"
fontWeight: "bold",
pointerEvents: "none"
}}
/>
</Pie>
Expand Down

0 comments on commit e5b6275

Please sign in to comment.