DEV Community

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

Collapse
 
alaadahmed profile image
AlaaDAhmed • Edited

Very nice tutorial thank you very much, I have small note for you :)
in selector function component instead of wrapping the whole classes inside {[class: "inline-block w-8 h-8 ..."]} you can just write it like normal HTML class, just like this class={"inline-block w-8 ..."} so just wrap the double quotes only with {".."}

Collapse
 
bigardone profile image
Ricardo García Vega

Thanks for the note, you are right. I'll change it ASAP, cheers!