dwyl / mvp

📲 simplest version of the @dwyl app
https://mvp.fly.dev
GNU General Public License v2.0
87 stars 2 forks source link

LiveView 0.18.3 warning #210

Closed SimonLab closed 1 year ago

SimonLab commented 1 year ago

image

see https://elixirforum.com/t/liveview-0-18-3-warning-passing-a-string-as-a-layout-template-in-use-options-is-deprecated/51411

In app_web update the live_view function to use the :live atom:

  def live_view do
    quote do
      use Phoenix.LiveView,
        layout: {AppWeb.LayoutView, :live}

      unquote(view_helpers())
    end
  end
SimonLab commented 1 year ago

resolved in https://github.com/dwyl/mvp/pull/209/files#diff-7463d24924f37978d63f55c6971881f43a47d00a7773eeec1fd97d2b651ec016