Skip to content

Commit

Permalink
docs(ComponentProps): fix compatibility with IE (#1796)
Browse files Browse the repository at this point in the history
  • Loading branch information
layershifter authored and levithomason committed Jun 24, 2017
1 parent e31470b commit 6da73f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/app/Components/ComponentDoc/ComponentProps.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export default class ComponentProps extends Component {
const paramSignature = params
.map(param => `${param.name}: ${getTagType(param)}`)
// prevent object properties from showing as individual params
.filter(p => !p.includes('.'))
.filter(p => !_.includes(p, '.'))
.join(', ')

const tagDescriptionRows = _.compact([...params, returns]).map(tag => {
Expand Down

0 comments on commit 6da73f4

Please sign in to comment.