aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfrankiebee <frankie.diamond@gmail.com>2017-04-25 02:56:31 +0800
committerfrankiebee <frankie.diamond@gmail.com>2017-04-25 02:56:31 +0800
commit79f88398acd116980fe91d4c56a1ec6a15672745 (patch)
tree286265d432e28197af97be15a1727e39f4ccb520
parentdf9e40be636738336d6fa3c775bbcc99a9a0e210 (diff)
downloadtangerine-wallet-browser-79f88398acd116980fe91d4c56a1ec6a15672745.tar
tangerine-wallet-browser-79f88398acd116980fe91d4c56a1ec6a15672745.tar.gz
tangerine-wallet-browser-79f88398acd116980fe91d4c56a1ec6a15672745.tar.bz2
tangerine-wallet-browser-79f88398acd116980fe91d4c56a1ec6a15672745.tar.lz
tangerine-wallet-browser-79f88398acd116980fe91d4c56a1ec6a15672745.tar.xz
tangerine-wallet-browser-79f88398acd116980fe91d4c56a1ec6a15672745.tar.zst
tangerine-wallet-browser-79f88398acd116980fe91d4c56a1ec6a15672745.zip
fix spelling
-rw-r--r--ui/app/components/buy-button-subview.js2
-rw-r--r--ui/app/components/custom-radio-list.js6
2 files changed, 4 insertions, 4 deletions
diff --git a/ui/app/components/buy-button-subview.js b/ui/app/components/buy-button-subview.js
index 8d3e9aa21..191f46319 100644
--- a/ui/app/components/buy-button-subview.js
+++ b/ui/app/components/buy-button-subview.js
@@ -104,7 +104,7 @@ BuyButtonSubview.prototype.render = function () {
}, [
h(RadioList, {
defaultFocus: props.buyView.subview,
- lables: [
+ labels: [
'Coinbase',
'ShapeShift',
],
diff --git a/ui/app/components/custom-radio-list.js b/ui/app/components/custom-radio-list.js
index a19287630..a4c525396 100644
--- a/ui/app/components/custom-radio-list.js
+++ b/ui/app/components/custom-radio-list.js
@@ -14,7 +14,7 @@ RadioList.prototype.render = function () {
const activeClass = '.custom-radio-selected'
const inactiveClass = '.custom-radio-inactive'
const {
- lables,
+ labels,
defaultFocus,
} = props
@@ -30,7 +30,7 @@ RadioList.prototype.render = function () {
marginRight: '5px',
},
},
- lables.map((lable, i) => {
+ labels.map((lable, i) => {
let isSelcted = (this.state !== null)
isSelcted = isSelcted ? (this.state.selected === lable) : (defaultFocus === lable)
return h(isSelcted ? activeClass : inactiveClass, {
@@ -43,7 +43,7 @@ RadioList.prototype.render = function () {
})
),
h('.text', {},
- lables.map((lable) => {
+ labels.map((lable) => {
if (props.subtext) {
return h('.flex-row', {}, [
h('.radio-titles', lable),