From b8d951773c1754236edc98b0a0b6b3d7ec17c30e Mon Sep 17 00:00:00 2001 From: Cristen Jones Date: Fri, 22 Nov 2024 09:50:43 -0500 Subject: [PATCH] add a script --- lib/dotcom_web/templates/layout/root.html.heex | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/lib/dotcom_web/templates/layout/root.html.heex b/lib/dotcom_web/templates/layout/root.html.heex index cb217fc977..0845376942 100644 --- a/lib/dotcom_web/templates/layout/root.html.heex +++ b/lib/dotcom_web/templates/layout/root.html.heex @@ -115,6 +115,15 @@ <%= render(__MODULE__, "_footer.html", conn: @conn) %> + + <%!-- Begin unnecessary scripts --%> + <%!-- React isn't even needed on most pages, but in production app.js will + somehow fail to execute unless additional scripts are included here. Let's + revisit this when we either refactor app.js or refactor how we bundle + scripts for production via Webpack. --%> + + <%!-- End unnecessary scripts --%>