mirror of
https://github.com/fly-apps/live_beats.git
synced 2024-11-15 20:51:03 +00:00
Fix variable name typo _parma -> _params
This commit is contained in:
parent
554c97fde4
commit
510994245d
3 changed files with 3 additions and 3 deletions
|
@ -116,7 +116,7 @@ defmodule LiveBeatsWeb.PlayerLive do
|
|||
"""
|
||||
end
|
||||
|
||||
def mount(_parmas, _session, socket) do
|
||||
def mount(_params, _session, socket) do
|
||||
%{current_user: current_user} = socket.assigns
|
||||
|
||||
if connected?(socket) do
|
||||
|
|
|
@ -68,7 +68,7 @@ defmodule LiveBeatsWeb.SettingsLive do
|
|||
"""
|
||||
end
|
||||
|
||||
def mount(_parmas, _session, socket) do
|
||||
def mount(_params, _session, socket) do
|
||||
changeset = Accounts.change_settings(socket.assigns.current_user, %{})
|
||||
{:ok, assign(socket, changeset: changeset)}
|
||||
end
|
||||
|
|
|
@ -30,7 +30,7 @@ defmodule LiveBeatsWeb.SignInLive do
|
|||
"""
|
||||
end
|
||||
|
||||
def mount(_parmas, _session, socket) do
|
||||
def mount(_params, _session, socket) do
|
||||
{:ok, socket}
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue