Skip to content

Commit

Permalink
fix - 1 of the whatsnew item was not displayed (index issue)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lyncee59 committed Jun 11, 2018
1 parent 6e4fabc commit ffba8cf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Expand Up @@ -4,7 +4,7 @@ import DidYouKnow from './template.js'

class DidYouKnowContainer extends React.PureComponent {
componentWillMount () {
this.number = Math.trunc((Math.random() * 23) + 1)
this.number = Math.trunc((Math.random() * 21) + 1)
}
render () {
return (
Expand Down
Expand Up @@ -74,8 +74,8 @@ const selectTitle = (number) => {
case 19: return <FormattedMessage id='scenes.home.didyouknow.title19' defaultMessage='Where are my private keys?' />
case 20: return <FormattedMessage id='scenes.home.didyouknow.title20' defaultMessage='What makes a password secure?' />
case 21: return <FormattedMessage id='scenes.home.didyouknow.title22' defaultMessage='How do fees work in my wallet?' />
case 22: return <FormattedMessage id='scenes.home.didyouknow.title23' defaultMessage='How often do I have to back up my wallet? ' />
default: return <div />
case 22:
default: return <FormattedMessage id='scenes.home.didyouknow.title23' defaultMessage='How often do I have to back up my wallet? ' />
}
}

Expand Down Expand Up @@ -149,8 +149,8 @@ const selectContent = (number) => {
</DidYouKnowWrapper>)
case 20: return <FormattedMessage id='scenes.home.didyouknow.content20' defaultMessage='Your passwords are considered secure as long as they are 16 characters minimum, unique, and include a diverse range of letters, numbers, and symbols. ' />
case 21: return <FormattedMessage id='scenes.home.didyouknow.content22' defaultMessage='Our wallet uses a dynamic fee structure. This means that when you send bitcoin, fees adjust based on network conditions & your transaction size.' />
case 22: return <FormattedMessage id='scenes.home.didyouknow.content23' defaultMessage='You only have to write down your Wallet Backup Phrase *once* to make sure all funds (except Imported Addresses) are backed up. To make sure your imported addresses are backed up too, transfer your funds to your wallet by using Send.' />
default: return <div />
case 22:
default: return <FormattedMessage id='scenes.home.didyouknow.content23' defaultMessage='You only have to write down your Wallet Backup Phrase *once* to make sure all funds (except Imported Addresses) are backed up. To make sure your imported addresses are backed up too, transfer your funds to your wallet by using Send.' />
}
}

Expand Down

0 comments on commit ffba8cf

Please sign in to comment.