DEV Community

Discussion on: Building a simple Calendly clone with Phoenix LiveView (pt. 3)

 
slowburnaz profile image
Chris Turner • Edited

I was having the same issue...

Aliasing EventType in the page_live.ex file does work.

Thread Thread
 
bigardone profile image
Ricardo García Vega

As Chris said, aliasing the component module in your live view should do the trick. Regarding the selector function, it was a last-minute refactor I did. I will pay more attention to these kind of errors in the following parts, sorry for the inconvenience 🙌