Skip to content

Commit 968f102

Browse files
committed
Fix compilation warnings on Elixir 1.20
1 parent 259631f commit 968f102

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/error_tracker/web.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ defmodule ErrorTracker.Web do
7171
@doc false
7272
def html do
7373
quote do
74+
use Phoenix.Component
75+
7476
import Phoenix.Controller, only: [get_csrf_token: 0]
7577

7678
unquote(html_helpers())
@@ -104,8 +106,6 @@ defmodule ErrorTracker.Web do
104106

105107
defp html_helpers do
106108
quote do
107-
use Phoenix.Component
108-
109109
import ErrorTracker.Web.CoreComponents
110110
import ErrorTracker.Web.Helpers
111111
import ErrorTracker.Web.Router.Routes

0 commit comments

Comments
 (0)