Skip to content

Commit

Permalink
fix(Form): Do not add any class if action modifier is missing (patter…
Browse files Browse the repository at this point in the history
  • Loading branch information
karelhala authored and tlabaj committed Oct 17, 2018
1 parent 2911a32 commit dee29d4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const defaultProps = {
};

const ActionGroup = ({ className, children, ...props }) => {
const customClassName = css(styles.formGroup, getModifier(styles, 'action'), className);
const customClassName = css(styles.formGroup, styles.modifiers.action, className);
const classesHorizontal = css(styles.formHorizontalGroup);

return (
Expand Down

0 comments on commit dee29d4

Please sign in to comment.