aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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),