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, {
|
||||
defaultFocus: props.buyView.subview,
|
||||
lables: [
|
||||
labels: [
|
||||
'Coinbase',
|
||||
'ShapeShift',
|
||||
],
|
||||
|
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user