Skip to content

Commit

Permalink
fix(extension): fix modal visibility condition
Browse files Browse the repository at this point in the history
  • Loading branch information
vetalcore committed May 7, 2024
1 parent 4703917 commit 42d8eaf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export const VotingProceduresContainer = (): React.ReactElement => {
if (userAckNonRegisteredState) return () => void 0;
const subscription = inMemoryWallet?.governance?.isRegisteredAsDRep$?.subscribe(
(hasValidDrepRegistration): void => {
setIsNonRegisteredUserModalVisible(hasValidDrepRegistration);
setIsNonRegisteredUserModalVisible(!hasValidDrepRegistration);
}
);

Expand Down

0 comments on commit 42d8eaf

Please sign in to comment.