Skip to content

Commit

Permalink
Fix not changing translations
Browse files Browse the repository at this point in the history
  • Loading branch information
Bluesmile82 committed Apr 26, 2023
1 parent 8eadf9b commit b4fc064
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ function SidebarCard({
const protectedAreaChartWidth = 320;
const PRESSURES_CHART_WIDTH = 166;
const PRESSURES_CHART_HEIGHT = 66;

const renderHumanPressure = () => (
<div className={styles.humanPressureIndicators}>
{Object.keys(humanPressuresData).map((key) => {
Expand Down Expand Up @@ -185,7 +186,6 @@ function SidebarCard({
const underProtectionPercentage = isCustom
? contextualData?.percentage
: contextualData?.protectionPercentage;

return (
<SidebarCardWrapper className={styles.cardWrapper}>
<div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ function Container(props) {
return acc;
}, {})
);
}, [contextualData]);
}, [contextualData, locale]);

const radioTypeToggle = (option) => {
const selectedActiveLayerTitles =
Expand Down

0 comments on commit b4fc064

Please sign in to comment.