You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
warning: incompatible types given to String.to_atom/1:
String.to_atom(template)
given types:
dynamic(false or {term(), binary()})
but expected one of:
binary()
where "template" was given the type:
# type: dynamic(false or {term(), binary()})
# from: lib/phoenix_live_view/router.ex:300:18
template = Phoenix.LiveView.Utils.normalize_layout(template)
typing violation found at:
│
301 │ Map.put(acc, :root_layout, {mod, String.to_atom(template)})
│ ~
│
└─ lib/phoenix_live_view/router.ex:301:49: Phoenix.LiveView.Router.validate_live_session_opts/3
0 commit comments