From 69636a4e4ff2cc447f37e7a28a22f43b7ace1e94 Mon Sep 17 00:00:00 2001 From: "@berzavlu" Date: Tue, 15 May 2018 12:50:03 -0500 Subject: [PATCH] removed extra curly bracket (#885) --- content/blog/2015-12-16-ismounted-antipattern.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/blog/2015-12-16-ismounted-antipattern.md b/content/blog/2015-12-16-ismounted-antipattern.md index c49e2cf1..3fc65462 100644 --- a/content/blog/2015-12-16-ismounted-antipattern.md +++ b/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