We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b866592 commit 7c7604fCopy full SHA for 7c7604f
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,13 +106,10 @@ 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
112
import Phoenix.HTML
113
- import Phoenix.LiveView.Helpers
114
115
alias Phoenix.LiveView.JS
116
end
0 commit comments