-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[#239 #240 #338] DRep can become Sole Voter, Sole Voter can become DRep #342
Conversation
const hashSubmitValue = hash ?? ""; | ||
// Temporary solution. To modify later. | ||
const urlSubmitValue = | ||
!url || url === "" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
!undefined === true
, !null === true
, !"" === true
, !'' === true
Conclusion: OR operator here makes no sense in my opinion
@@ -5,12 +5,13 @@ import { useCardano } from "@context"; | |||
import { getDRepInfo } from "@services"; | |||
|
|||
export const useGetDRepInfo = () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
then change this on useGetVoterInfo connected with voter data
@@ -112,7 +112,7 @@ export const en = { | |||
registrationInProgress: | |||
"The registration process is ongoing. This may take several minutes.", | |||
retire: "Retire", | |||
retireTitle: "You Have Retired as a Sole Voter", | |||
wasSoleVoterTitle: "You Have Retired as a Sole Voter", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sort
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 💪
List of changes
Checklist
related issues: #239 #240 #338