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
|
|
@ -52,7 +52,7 @@ defmodule MvWeb.GlobalSettingsLive do
|
|||
|
||||
# Get locale from session; same fallback as router/LiveUserAuth (respects config :default_locale in test)
|
||||
locale = session["locale"] || Application.get_env(:mv, :default_locale, "de")
|
||||
Gettext.put_locale(MvWeb.Gettext, locale)
|
||||
_ = Gettext.put_locale(MvWeb.Gettext, locale)
|
||||
|
||||
actor = MvWeb.LiveHelpers.current_actor(socket)
|
||||
custom_fields = load_custom_fields(actor)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue