Fix linting in template. Only set loading to false once React render callback is called.
Fix linting in template.
Only set loading to false once React render callback is called.

66eli77/kolibri-exercise-perseus-plugin,66eli77/kolibri-exercise-perseus-plugin,learningequality/kolibri-exercise-perseus-plugin,christianmemije/kolibri-exercise-perseus-plugin,christianmemije/kolibri-exercise-perseus-plugin,learningequality/kolibri-exercise-perseus-plugin,66eli77/kolibri-exercise-perseus-plugin,christianmemije/kolibri-exercise-perseus-plugin