Programming Phoenix LiveView: live_modal/2 instead of live_component/3 (210)

“The ProductLive.Index template calls a helper function, live_component/3, that in turn calls on the modal component. ”

Excerpt From: Bruce A. Tate, Sophie DeBenedetto. “Programming Phoenix LiveView.” Apple Books.

I believe that is should be “… ProductLive.Index template calls a helper function, live_modal/2, …”