We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 259631f commit 968f102Copy full SHA for 968f102
1 file changed
lib/error_tracker/web.ex
@@ -71,6 +71,8 @@ defmodule ErrorTracker.Web do
71
@doc false
72
def html do
73
quote do
74
+ use Phoenix.Component
75
+
76
import Phoenix.Controller, only: [get_csrf_token: 0]
77
78
unquote(html_helpers())
@@ -104,8 +106,6 @@ defmodule ErrorTracker.Web do
104
106
105
107
defp html_helpers do
108
- use Phoenix.Component
-
109
import ErrorTracker.Web.CoreComponents
110
import ErrorTracker.Web.Helpers
111
import ErrorTracker.Web.Router.Routes
0 commit comments