fix: use @timezone instead of assigns[:timezone] in footer calls

This commit is contained in:
Graham McIntire 2026-01-18 12:43:35 -06:00
parent 442a79baa7
commit d8ee0320dc
No known key found for this signature in database

View file

@ -68,7 +68,7 @@ defmodule ToweropsWeb.Layouts do
</div>
</main>
<.footer timezone={assigns[:timezone] || "UTC"} />
<.footer timezone={@timezone} />
</div>
<.flash_group flash={@flash} />
@ -252,7 +252,7 @@ defmodule ToweropsWeb.Layouts do
</div>
</main>
<.footer timezone={assigns[:timezone] || "UTC"} />
<.footer timezone={@timezone} />
</div>
<.flash_group flash={@flash} />
@ -423,7 +423,7 @@ defmodule ToweropsWeb.Layouts do
</div>
</main>
<.footer timezone={assigns[:timezone] || "UTC"} />
<.footer timezone={@timezone} />
</div>
<.flash_group flash={@flash} />