Fix issue with wrongfully used assign function

This commit is contained in:
Thelonius Kort
2023-01-19 11:26:26 +01:00
parent a93afea57b
commit 8220b112bf

View File

@ -18,7 +18,7 @@ defmodule OutlookWeb.HtmlDocComponent do
end end
def render_doc(assigns) do def render_doc(assigns) do
assigns assigns
|> assign(:tunit_tag, "span") |> Map.put(:tunit_tag, "span")
|> render_doc() |> render_doc()
end end