refactor(types): bind intentionally discarded side-effecting results
This commit is contained in:
parent
04ab05f556
commit
848f0cd013
12 changed files with 24 additions and 22 deletions
|
|
@ -16,8 +16,8 @@ defmodule MvWeb.SignOutLive do
|
|||
@impl true
|
||||
def mount(_params, session, socket) do
|
||||
locale = session["locale"] || Application.get_env(:mv, :default_locale, "de")
|
||||
Gettext.put_locale(MvWeb.Gettext, locale)
|
||||
Gettext.put_locale(locale)
|
||||
_ = Gettext.put_locale(MvWeb.Gettext, locale)
|
||||
_ = Gettext.put_locale(locale)
|
||||
|
||||
club_name =
|
||||
case Membership.get_settings() do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue