Fix variable name typo _parma -> _params

This commit is contained in:
Benjamin Porter 2022-02-14 20:51:14 -07:00
parent 554c97fde4
commit 510994245d
3 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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

View file

@ -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