Skip to content

Commit

Permalink
list: replace h tags with normal tags to remove implicit semantic #104
Browse files Browse the repository at this point in the history
  • Loading branch information
Fa-So committed Sep 27, 2016
1 parent 4f4f477 commit cb625a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/list/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ export const Row = ({

const textElement = (
<div className='List-row-text' key='text'>
<h3 className='List-row-text-primary'>{primary}</h3>
{subheader && <h4 className='List-row-text-subheader'>{subheader}</h4>}
<div className='List-row-text-primary'>{primary}</div>
{subheader && <div className='List-row-text-subheader'>{subheader}</div>}
{secondary && <span className='List-row-text-secondary'>{secondary}</span>}
</div>
)
Expand Down

0 comments on commit cb625a8

Please sign in to comment.