Skip to content

Commit

Permalink
Issue with Polls adding the letter S
Browse files Browse the repository at this point in the history
On the action table and projector screen, there is an extra S being added to the word Polls. In any case, the word Polls should just be removed leaving just the word Support before the percentage.
  • Loading branch information
jfrant committed Nov 2, 2023
1 parent b51ab41 commit 37a12b6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/BPT.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ const BPT = view(({ big }) => {
>
{big && (
<h2 className="font-weight-bold my-2">
{getTextWithSynonyms('Support in Polls')}
{getTextWithSynonyms('Support')}
</h2>
)}
<h4 className="bpt-item font-weight-normal mb-0">{poll} %</h4>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Simulation/AvailableActionItems.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const AvailableActionItems = view(({ actionList, role }) => {
if (action.poll_increase !== 0)
resultDescription.push(
`Gain ${action.poll_increase}% in ${getTextWithSynonyms(
'polls',
'poll',
)}`,
);
if (action.budget_increase !== 0)
Expand Down
2 changes: 1 addition & 1 deletion src/components/Simulation/Injections/InjectionBody.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ const InjectionBody = view(
})}
>
<span className="font-weight-bold">
{getTextWithSynonyms('Polls')}:{' '}
{getTextWithSynonyms('Poll')}:{' '}
</span>
{injection.poll_change
? `${injection.poll_change}%`
Expand Down

0 comments on commit 37a12b6

Please sign in to comment.