From d8ee0320dc89504c7072ced7b05b6fff4f97b0e7 Mon Sep 17 00:00:00 2001 From: Graham McIntire Date: Sun, 18 Jan 2026 12:43:35 -0600 Subject: [PATCH] fix: use @timezone instead of assigns[:timezone] in footer calls --- lib/towerops_web/components/layouts.ex | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/towerops_web/components/layouts.ex b/lib/towerops_web/components/layouts.ex index 83d5f447..58575787 100644 --- a/lib/towerops_web/components/layouts.ex +++ b/lib/towerops_web/components/layouts.ex @@ -68,7 +68,7 @@ defmodule ToweropsWeb.Layouts do - <.footer timezone={assigns[:timezone] || "UTC"} /> + <.footer timezone={@timezone} /> <.flash_group flash={@flash} /> @@ -252,7 +252,7 @@ defmodule ToweropsWeb.Layouts do - <.footer timezone={assigns[:timezone] || "UTC"} /> + <.footer timezone={@timezone} /> <.flash_group flash={@flash} /> @@ -423,7 +423,7 @@ defmodule ToweropsWeb.Layouts do - <.footer timezone={assigns[:timezone] || "UTC"} /> + <.footer timezone={@timezone} /> <.flash_group flash={@flash} />