From c00ed57240e46401cc4080f06ed9d3ba80ba839c Mon Sep 17 00:00:00 2001 From: Lang <7system7@gmail.com> Date: Sat, 18 Apr 2026 17:53:02 +0200 Subject: [PATCH] fix: dev: the react is crashing on some cases #5 --- templates/Official/contact.html.twig | 2 +- templates/Security/login.html.twig | 2 +- templates/Security/profile.html.twig | 2 +- templates/Security/profile_security.html.twig | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/Official/contact.html.twig b/templates/Official/contact.html.twig index cb73098..a64fc95 100644 --- a/templates/Official/contact.html.twig +++ b/templates/Official/contact.html.twig @@ -128,7 +128,7 @@ {% block javascripts %} {{ parent() }} - {{ vite_entry_script_tags('contact') }} + {{ vite_entry_script_tags('contact', { dependency: 'react' }) }}
diff --git a/templates/Security/login.html.twig b/templates/Security/login.html.twig index 7b4f19c..088ddea 100644 --- a/templates/Security/login.html.twig +++ b/templates/Security/login.html.twig @@ -136,5 +136,5 @@ - {{ vite_entry_script_tags('passkey') }} + {{ vite_entry_script_tags('passkey', { dependency: 'react' }) }} {% endblock %} diff --git a/templates/Security/profile.html.twig b/templates/Security/profile.html.twig index 3e1bd99..b2bdaa3 100644 --- a/templates/Security/profile.html.twig +++ b/templates/Security/profile.html.twig @@ -154,5 +154,5 @@ {% block javascripts %} {{ parent() }} - {{ vite_entry_script_tags('profile') }} + {{ vite_entry_script_tags('profile', { dependency: 'react' }) }} {% endblock %} diff --git a/templates/Security/profile_security.html.twig b/templates/Security/profile_security.html.twig index 2a3af17..ca3428b 100644 --- a/templates/Security/profile_security.html.twig +++ b/templates/Security/profile_security.html.twig @@ -133,5 +133,5 @@ {% block javascripts %} {{ parent() }} - {{ vite_entry_script_tags('passkey') }} + {{ vite_entry_script_tags('passkey', { dependency: 'react' }) }} {% endblock %}