mirror of
https://github.com/Choices-js/Choices.git
synced 2024-06-07 00:12:40 +02:00
Use braces for early return
This commit is contained in:
parent
2e59385cc2
commit
3169d8c3d7
|
@ -481,8 +481,9 @@ class Choices {
|
||||||
* @private
|
* @private
|
||||||
*/
|
*/
|
||||||
render() {
|
render() {
|
||||||
if(this.store.isLoading())
|
if(this.store.isLoading()) {
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
this.currentState = this.store.getState();
|
this.currentState = this.store.getState();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue