removed extra curly bracket (#885)

This commit is contained in:
@berzavlu
2018-05-15 12:50:03 -05:00
committed by Alex Krolick
parent 1f8fdac9cc
commit 69636a4e4f

View File

@@ -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