
* fix hook order to use ref inside user hooks * 2nd attempt to fix ref_hook order * add missing definition * remove print statements
24 lines
412 B
Django/Jinja
24 lines
412 B
Django/Jinja
{% extends "web/pages/base_page.js.jinja2" %}
|
|
|
|
{% block declaration %}
|
|
{% for custom_code in custom_codes %}
|
|
{{custom_code}}
|
|
{% endfor %}
|
|
{% endblock %}
|
|
|
|
{% block export %}
|
|
export default function Component() {
|
|
{% for ref_hook in ref_hooks %}
|
|
{{ ref_hook }}
|
|
{% endfor %}
|
|
|
|
{% for hook in hooks %}
|
|
{{ hook }}
|
|
{% endfor %}
|
|
|
|
return (
|
|
{{utils.render(render, indent_width=0)}}
|
|
)
|
|
}
|
|
{% endblock %}
|