Inject provider in lowercase

This commit is contained in:
apanizo 2018-08-23 13:47:59 +02:00
parent e71d4ccfff
commit 78a88b29dc
2 changed files with 2 additions and 2 deletions

View File

@ -39,8 +39,8 @@ const Col = ({
}: Props) => { }: Props) => {
const colClassNames = cx( const colClassNames = cx(
'col', 'col',
start ? capitalize(start, 'start') : undefined,
center ? capitalize(center, 'center') : undefined, center ? capitalize(center, 'center') : undefined,
start ? capitalize(start, 'start') : undefined,
end ? capitalize(end, 'end') : undefined, end ? capitalize(end, 'end') : undefined,
top ? capitalize(top, 'top') : undefined, top ? capitalize(top, 'top') : undefined,
middle ? capitalize(middle, 'middle') : undefined, middle ? capitalize(middle, 'middle') : undefined,

View File

@ -21,6 +21,6 @@ export const providerNameSelector = createSelector(
const loaded = provider.get('loaded') const loaded = provider.get('loaded')
const available = provider.get('available') const available = provider.get('available')
return loaded && available ? name : undefined return loaded && available ? name.toLowerCase() : undefined
}, },
) )