From 9f2f89442108ccc406ca4c81c65e89dd4bab5714 Mon Sep 17 00:00:00 2001 From: hq1 Date: Wed, 7 Feb 2024 09:32:30 +0100 Subject: [PATCH] Fix flashing on reapplying theme (#3760) * Fix flashing on reapplying theme This seem to be making a difference on staging * Add `blocking="rendering"` attribute --- lib/plausible_web/components/layout.ex | 2 +- lib/plausible_web/templates/layout/app.html.heex | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/plausible_web/components/layout.ex b/lib/plausible_web/components/layout.ex index 8dac6c784..2665f3bef 100644 --- a/lib/plausible_web/components/layout.ex +++ b/lib/plausible_web/components/layout.ex @@ -5,7 +5,7 @@ defmodule PlausibleWeb.Components.Layout do def theme_script(assigns) do ~H""" -