Skip to content

Commit 1d3efa3

Browse files
authored
Merge pull request #3232 from IntersectMBO/fix/allow-casting-same-vote-with-a-different-rationale
2 parents 557d12b + 9c45054 commit 1d3efa3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,14 @@ changes.
1414

1515
### Fixed
1616

17+
- allow casting same vote with a different rationale [Issue 3191](https://github.com/IntersectMBO/govtool/issues/3191)
18+
1719
### Changed
1820

1921
### Removed
2022

2123
## [v2.0.16](https://github.com/IntersectMBO/govtool/releases/tag/v2.0.16) 2025-03-17
2224

23-
2425
### Added
2526

2627
- Add support for preprod in matomo analytics [Issue 3173](https://github.com/IntersectMBO/govtool/issues/3173)

govtool/frontend/src/hooks/forms/useVoteActionForm.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,7 @@ export const useVoteActionForm = ({
6969
txHash !== null &&
7070
index !== undefined &&
7171
index !== null &&
72-
!areFormErrors &&
73-
previousVote?.vote !== vote;
72+
!areFormErrors;
7473

7574
const confirmVote = useCallback(
7675
async (values: VoteActionFormValues) => {

0 commit comments

Comments
 (0)