Merge pull request #43 from FreedomBen/fix-typo-params

Fix variable name typo _parma -> _params
This commit is contained in:
Chris McCord 2022-02-22 10:50:16 -05:00 committed by GitHub
commit 6233b438c2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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