You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
warning: undefined attribute "data" for component Heroicons.trash/1
lib/we_lift_web/live/workout_live/show.ex:31: (file)
warning: undefined attribute "phx_value_id" for component Heroicons.trash/1
lib/we_lift_web/live/workout_live/show.ex:30: (file)
The strange thing is that these warnings only appear when I compile on my local machine. They are not present during CI builds. The CI build is using Elixir v1.14.3 and OTP v25.1 (which matches what I have locally). So I'm not exactly sure why the two environments have a discrepancy.
Regardless, let's do something to resolve the errors in the local environment. It might be that the Heroicons.trash component needs to be wrapped by a div or something (which will then carry the data and phx_value_id attributes). Need to do a little more research to figure out a true fix.
The text was updated successfully, but these errors were encountered:
Output from
mix compile --warnings-as-errors
:The strange thing is that these warnings only appear when I compile on my local machine. They are not present during CI builds. The CI build is using Elixir v1.14.3 and OTP v25.1 (which matches what I have locally). So I'm not exactly sure why the two environments have a discrepancy.
Regardless, let's do something to resolve the errors in the local environment. It might be that the
Heroicons.trash
component needs to be wrapped by adiv
or something (which will then carry thedata
andphx_value_id
attributes). Need to do a little more research to figure out a true fix.The text was updated successfully, but these errors were encountered: