Skip to content

Commit

Permalink
Merge branch 'release/7.0.0' into feat/lw-11909-restrict-drep-id-form…
Browse files Browse the repository at this point in the history
…at-to-cip-105
  • Loading branch information
DominikGuzei authored Nov 29, 2024
2 parents cb2ee0c + 957896f commit 752f41c
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,10 @@ function VotingPowerDelegation({
},
];

const chosenOption = state.drepInputState.value || state.selectedVoteType;
const chosenOption =
state.selectedVoteType === 'drep'
? state.drepInputState.value
: state.selectedVoteType;

useEffect(() => {
(async () => {
Expand Down

0 comments on commit 752f41c

Please sign in to comment.