Skip to content

Commit

Permalink
fix warning due deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
TraceyOnim committed Jan 14, 2022
1 parent 0a4c81b commit f1dace4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/quadquizaminos_web/live/live_helpers.ex
Expand Up @@ -19,6 +19,6 @@ defmodule QuadquizaminosWeb.LiveHelpers do
def live_modal(socket, component, opts) do
path = Keyword.fetch!(opts, :return_to)
modal_opts = [id: :modal, return_to: path, component: component, opts: opts]
live_component(socket, QuadquizaminosWeb.ModalComponent, modal_opts)
live_component(QuadquizaminosWeb.ModalComponent, modal_opts)
end
end

0 comments on commit f1dace4

Please sign in to comment.