Skip to content

Commit

Permalink
[Docs] fix linting error
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Aug 1, 2017
1 parent 84823c5 commit 45454b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api/ShallowWrapper/setProps.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ expect(spy.calledOnce).to.equal(true);
`setProps()` will not trigger the lifecycle method `componentDidUpdate` when using `shallow()` unless you set `lifecycleExperimental` to true.

```jsx
const wrapper = shallow(<MyComponent />, { lifecycleExperimental: true })
const wrapper = shallow(<MyComponent />, { lifecycleExperimental: true });
```

#### Related Methods
Expand Down

0 comments on commit 45454b2

Please sign in to comment.