yay -> aye in democracy (#275)

* yay -> aye in democracy

* Upgrade polkadot-identicon
This commit is contained in:
Jaco Greeff 2018-09-03 15:06:21 +02:00 committed by GitHub
parent 89093bf067
commit 444bb4ea9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 10 deletions

View File

@ -30,10 +30,10 @@ class VotingButton extends React.PureComponent<Props> {
<Button
isDisabled={!publicKey}
isPositive
text={t('votebtn.yay', {
defaultValue: 'yay'
text={t('votebtn.aye', {
defaultValue: 'aye'
})}
onClick={this.onClickYay}
onClick={this.onClickYes}
/>
<Button.Or />
<Button
@ -42,7 +42,7 @@ class VotingButton extends React.PureComponent<Props> {
text={t('votebtn.nay', {
defaultValue: 'nay'
})}
onClick={this.onClickNay}
onClick={this.onClickNo}
/>
</Button.Group>
);
@ -63,11 +63,11 @@ class VotingButton extends React.PureComponent<Props> {
});
}
private onClickYay = () => {
private onClickYes = () => {
this.doVote(true);
}
private onClickNay = () => {
private onClickNo = () => {
this.doVote(false);
}
}

View File

@ -12,7 +12,7 @@
"dependencies": {
"@babel/runtime": "^7.0.0-rc.1",
"@polkadot/ui-identicon": "^0.19.53",
"polkadot-identicon": "^1.0.2"
"polkadot-identicon": "^1.1.0"
},
"devDependencies": {
"@polkadot/util-keyring": "^0.28.4",

View File

@ -8135,9 +8135,9 @@ pn@^1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/pn/-/pn-1.1.0.tgz#e2f4cef0e219f463c179ab37463e4e1ecdccbafb"
polkadot-identicon@^1.0.2:
version "1.0.5"
resolved "https://registry.yarnpkg.com/polkadot-identicon/-/polkadot-identicon-1.0.5.tgz#8f8bc255845918a298369380493fef054493b469"
polkadot-identicon@^1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/polkadot-identicon/-/polkadot-identicon-1.1.0.tgz#33c0dee86fe176b98db4334a36cef0988f3a3b27"
dependencies:
blake2js "^1.0.0"
oo7-react "^0.4.9"