diff --git a/src/reactpy_django/templates/reactpy/component.html b/src/reactpy_django/templates/reactpy/component.html index e7ff1311..6b4ecc16 100644 --- a/src/reactpy_django/templates/reactpy/component.html +++ b/src/reactpy_django/templates/reactpy/component.html @@ -5,23 +5,23 @@ {% endif %} {% if not reactpy_failure %} -
+{% if reactpy_class %}
{% endif %} +{% if not reactpy_class %}
{% endif %} +{% if reactpy_prerender_html %}
{{reactpy_prerender_html|safe}}
{% endif %} +{% if reactpy_offline_html %}{% endif %} -{% if reactpy_prerender_html %}
{{ reactpy_prerender_html|safe }}
{% endif %} -{% if reactpy_offline_html %} -{% endif %} {% endif %}