Private
Public Access
1
0

fix: dev: the react is crashing on some cases #5

This commit is contained in:
2026-04-18 17:53:02 +02:00
parent ef4cf6ef69
commit c00ed57240
4 changed files with 4 additions and 4 deletions

View File

@@ -128,7 +128,7 @@
{% block javascripts %}
{{ parent() }}
<script src="https://www.google.com/recaptcha/api.js?render={{ recaptcha_site_key }}" async defer></script>
{{ vite_entry_script_tags('contact') }}
{{ vite_entry_script_tags('contact', { dependency: 'react' }) }}
<div id="contact-form-wrapper"
data-site-key="{{ recaptcha_site_key }}"
data-recaptcha-field-id="{{ form.recaptcha.vars.id }}">

View File

@@ -136,5 +136,5 @@
</script>
{{ vite_entry_script_tags('passkey') }}
{{ vite_entry_script_tags('passkey', { dependency: 'react' }) }}
{% endblock %}

View File

@@ -154,5 +154,5 @@
{% block javascripts %}
{{ parent() }}
{{ vite_entry_script_tags('profile') }}
{{ vite_entry_script_tags('profile', { dependency: 'react' }) }}
{% endblock %}

View File

@@ -133,5 +133,5 @@
{% block javascripts %}
{{ parent() }}
{{ vite_entry_script_tags('passkey') }}
{{ vite_entry_script_tags('passkey', { dependency: 'react' }) }}
{% endblock %}