Fix issue with wrongfully used assign function
This commit is contained in:
@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user