-
Notifications
You must be signed in to change notification settings - Fork 24
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
feat(vote credit): add card, modal and row components #1022
Conversation
daoName: dao.name || dao.id, | ||
daoFunds: dao.totalDaoFunds, | ||
}); | ||
}, [dao.id, dao.name, dao.totalDaoFunds, showModal]); |
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.
Is there a reason not to destruct it and use id
, name
, etc... We are duplicating dao all the time.
capitalize | ||
className={styles.confirmButton} | ||
variant="secondary" | ||
onClick={() => onClose()} |
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.
Can we just pass onClose?
Cancel | ||
</Button> | ||
<Button capitalize type="submit" className={styles.confirmButton}> | ||
Submit |
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.
Should we leave some comment to remember about localisation? Maybe we should introduce some TODO at the top of the unlocalised files?
(async () => { | ||
await getDaosList(); | ||
})(); |
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.
Is there sense to wait till we get daos? Will we face some "race condition" if we remove await?
const publicKey = await nearService?.getPublicKey(); | ||
const signature = await nearService?.getSignature(); |
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.
We have a getPublicKeyAndSignature
method to get both)
No description provided.