Browse Source

removed extra curly bracket (#885)

main
@berzavlu 7 years ago
committed by Alex Krolick
parent
commit
69636a4e4f
  1. 2
      content/blog/2015-12-16-ismounted-antipattern.md

2
content/blog/2015-12-16-ismounted-antipattern.md

@ -43,7 +43,7 @@ If you use ES6 promises, you may need to wrap your promise in order to make it c
```js
const cancelablePromise = makeCancelable(
new Promise(r => component.setState({...}}))
new Promise(r => component.setState({...}))
);
cancelablePromise

Loading…
Cancel
Save