Skip to content

Commit

Permalink
Merge 0e9704f into 4717939
Browse files Browse the repository at this point in the history
  • Loading branch information
rerissondaniel committed May 8, 2019
2 parents 4717939 + 0e9704f commit bb12d0d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Expand Up @@ -6,8 +6,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
###
- Use lowercase in assets references in legacy component.

## [2.11.3] - 2019-05-08
- Use lowercase in assets references.

## [2.11.2] - 2019-05-07
### Added
Expand Down
2 changes: 1 addition & 1 deletion react/legacy/FooterPaymentFormList.js
Expand Up @@ -28,7 +28,7 @@ FooterPaymentFormItem.propTypes = {
}

const getImagePathFromProps = ({ paymentType, showInColor }) =>
`${paymentType}${showInColor ? '' : '-BW'}.svg`
`${paymentType.toLowerCase()}${showInColor ? '' : '-bw'}.svg`

export default footerList(
withImage(getImagePathFromProps)(FooterPaymentFormItem)
Expand Down
2 changes: 1 addition & 1 deletion react/legacy/FooterSocialNetworkList.js
Expand Up @@ -42,7 +42,7 @@ FooterSocialNetworkItem.propTypes = {
]),
}
const getImagePathFromProps = ({ socialNetwork, showInColor }) =>
`${socialNetwork}${showInColor ? '' : '-BW'}.svg`
`${socialNetwork.toLowerCase()}${showInColor ? '' : '-bw'}.svg`

export default footerList(
withImage(getImagePathFromProps)(FooterSocialNetworkItem)
Expand Down

0 comments on commit bb12d0d

Please sign in to comment.