mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
fix spelling
This commit is contained in:
parent
df9e40be63
commit
79f88398ac
@ -104,7 +104,7 @@ BuyButtonSubview.prototype.render = function () {
|
|||||||
}, [
|
}, [
|
||||||
h(RadioList, {
|
h(RadioList, {
|
||||||
defaultFocus: props.buyView.subview,
|
defaultFocus: props.buyView.subview,
|
||||||
lables: [
|
labels: [
|
||||||
'Coinbase',
|
'Coinbase',
|
||||||
'ShapeShift',
|
'ShapeShift',
|
||||||
],
|
],
|
||||||
|
@ -14,7 +14,7 @@ RadioList.prototype.render = function () {
|
|||||||
const activeClass = '.custom-radio-selected'
|
const activeClass = '.custom-radio-selected'
|
||||||
const inactiveClass = '.custom-radio-inactive'
|
const inactiveClass = '.custom-radio-inactive'
|
||||||
const {
|
const {
|
||||||
lables,
|
labels,
|
||||||
defaultFocus,
|
defaultFocus,
|
||||||
} = props
|
} = props
|
||||||
|
|
||||||
@ -30,7 +30,7 @@ RadioList.prototype.render = function () {
|
|||||||
marginRight: '5px',
|
marginRight: '5px',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
lables.map((lable, i) => {
|
labels.map((lable, i) => {
|
||||||
let isSelcted = (this.state !== null)
|
let isSelcted = (this.state !== null)
|
||||||
isSelcted = isSelcted ? (this.state.selected === lable) : (defaultFocus === lable)
|
isSelcted = isSelcted ? (this.state.selected === lable) : (defaultFocus === lable)
|
||||||
return h(isSelcted ? activeClass : inactiveClass, {
|
return h(isSelcted ? activeClass : inactiveClass, {
|
||||||
@ -43,7 +43,7 @@ RadioList.prototype.render = function () {
|
|||||||
})
|
})
|
||||||
),
|
),
|
||||||
h('.text', {},
|
h('.text', {},
|
||||||
lables.map((lable) => {
|
labels.map((lable) => {
|
||||||
if (props.subtext) {
|
if (props.subtext) {
|
||||||
return h('.flex-row', {}, [
|
return h('.flex-row', {}, [
|
||||||
h('.radio-titles', lable),
|
h('.radio-titles', lable),
|
||||||
|
Loading…
Reference in New Issue
Block a user