Skip to content

Commit

Permalink
Modificators is NOT a word
Browse files Browse the repository at this point in the history
  • Loading branch information
roblevintennis committed Sep 22, 2020
1 parent 79ba010 commit 7570ae6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions agnosticui-react/src/stories/FlexGrid/FlexRow.js
Expand Up @@ -31,21 +31,21 @@ const propTypes = {
}

function getRowClassNames(props) {
const modificators = [props.className, getClass('row')]
const modifiers = [props.className, getClass('row')]

for (let i = 0; i < rowKeys.length; ++i) {
const key = rowKeys[i]
const value = props[key]
if (value) {
modificators.push(getClass(`${key}-${value}`))
modifiers.push(getClass(`${key}-${value}`))
}
}

if (props.reverse) {
modificators.push(getClass('reverse'))
modifiers.push(getClass('reverse'))
}

return modificators
return modifiers
}

export function getRowProps(props) {
Expand Down

0 comments on commit 7570ae6

Please sign in to comment.