Programming Phoenix LiveView: render_slot uses wrong argument (page103)

The 3rd paragraph on the page states:

Our <.header> function invocation in the index template doesn’t make use of the <:subtitle> slot, so the header/1 function component has nothing to render when it calls <%= render_slot(@inner_block) %>.

The <%= render_slot(@inner_block) %> in that paragraph should be replaced with <%= render_slot(@subtitle) %>

Thanks for pointing that out! We’ll fix that before the final release.