Use braces for early return

This commit is contained in:
Josh Johnson 2018-01-04 11:34:22 +00:00
parent 2e59385cc2
commit 3169d8c3d7

View file

@ -481,8 +481,9 @@ class Choices {
* @private
*/
render() {
if(this.store.isLoading())
if(this.store.isLoading()) {
return;
}
this.currentState = this.store.getState();