Skip to content

Commit

Permalink
Fix Gettext warning
Browse files Browse the repository at this point in the history
  • Loading branch information
solnic committed Oct 15, 2024
1 parent eeb6bda commit 3d18678
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ defmodule PhoenixAppWeb.CoreComponents do
Icons are provided by [heroicons](https://heroicons.com). See `icon/1` for usage.
"""
use Phoenix.Component
use Gettext, backend: PhoenixAppWeb.Gettext

alias Phoenix.LiveView.JS
import PhoenixAppWeb.Gettext

@doc """
Renders a modal.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ defmodule PhoenixAppWeb.Gettext do
See the [Gettext Docs](https://hexdocs.pm/gettext) for detailed usage.
"""
use Gettext, otp_app: :phoenix_app
use Gettext.Backend, otp_app: :phoenix_app
end

0 comments on commit 3d18678

Please sign in to comment.