Programming Phoenix LiveView: B11 Typos

Page 100

Add the following snippet to your index.html.eex template:
index.html.heex

Page 105

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) %>
render_slot(@subtitle}