Skip to content

Commit

Permalink
fix(Header): Remove duplicate class
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffcarbs committed Dec 16, 2016
1 parent c7fc9d4 commit cb4c5b3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/elements/Header/Header.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ function Header(props) {

const iconElement = Icon.create(icon)
const imageElement = Image.create(image)
const subheaderElement = HeaderSubheader.create(subheader, { className: 'sub header' })
const subheaderElement = HeaderSubheader.create(subheader)

if (iconElement || imageElement) {
return (
Expand Down
1 change: 0 additions & 1 deletion test/specs/elements/Header/Header-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ describe('Header', () => {
common.implementsShorthandProp(Header, {
propKey: 'subheader',
ShorthandComponent: HeaderSubheader,
shorthandDefaultProps: { className: 'sub header' },
mapValueToProps: val => ({ content: val }),
})

Expand Down

0 comments on commit cb4c5b3

Please sign in to comment.