Hi,
I am trying to use a Surface.Component
in my live.html.heex
but get the following error:
== Compilation error in file lib/met_opto_web/views/layout_view.ex ==
** (MatchError) no match of right hand side value: {:tag_open, "SideMenu", [{"side_menu", {:expr, "@side_menu", %{column: 34, line: 80}}}], %{column: 13, line: 80, self_close: true}}
I have confirmed that all of the assigns are in place and I am able to render the component in a page.html.heex
using a page.ex
liveview.
Is there something stopping the use of Surface.Components
in templates?
Thanks in advance.
Andrew