From 4308d2c63542152d67065060fb1596785266896f Mon Sep 17 00:00:00 2001 From: Richard Lewis Date: Fri, 28 Jul 2017 16:36:06 +0100 Subject: [PATCH] Inline setState. --- src/components/views/elements/AppPermission.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/components/views/elements/AppPermission.js b/src/components/views/elements/AppPermission.js index a101320776..d3b7af0d07 100644 --- a/src/components/views/elements/AppPermission.js +++ b/src/components/views/elements/AppPermission.js @@ -7,9 +7,7 @@ export default class AppPermission extends React.Component { super(props); const curlBase = this.getCurlBase(); - this.state = { - curlBase: curlBase, - }; + this.state = { curlBase: curlBase}; } // Return string representation of content URL without query parameters