Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Lauren Budorick committed May 4, 2018
1 parent 3700425 commit 790cb92
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/pages/style-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ class Item extends React.Component {
<em className='quiet'><span className='icon opacity inline quiet' />Transitionable. </em>}

<em className='quiet'>
Should be represented by a <a href={'#property-types-' + this.props['property-type']}>{this.props['property-type']}</a> property. </em>
Should be represented by a <a href={`#property-types-${this.props['property-type']}`}>{this.props['property-type']}</a> property. </em>
</div>

{this.props.doc &&
Expand Down Expand Up @@ -1433,8 +1433,8 @@ export default class extends React.Component {
const propTypeDoc = ref['property-type'][propType].doc;
return (
<div className='pad2 keyline-bottom' key={i}>
<a id={'property-types-' + propType} className='anchor'/>
<h3 className='space-bottom1'><a href={'#property-types-' + propType} title={'link to ' + propType}>{propType}</a></h3>
<a id={`property-types-${propType}`} className='anchor'/>
<h3 className='space-bottom1'><a href={`#property-types-${propType}`} title={`link to ${propType}`}>{propType}</a></h3>
<p>{propTypeDoc}</p>
</div>);
})}
Expand Down

0 comments on commit 790cb92

Please sign in to comment.