# Programming Phoenix LiveView: render\_slot uses wrong argument (page103)

**URL:** <https://forum.devtalk.com/t/programming-phoenix-liveview-render-slot-uses-wrong-argument-page103/137232>\
**Category:** PragProg Customers\
**Tags:** book-programming-phoenix-liveview, errata\
**Created:** [25 December 2023 19:33 UTC](https://forum.devtalk.com/t/programming-phoenix-liveview-render-slot-uses-wrong-argument-page103/137232 "2023-12-25T19:33:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![lurnid](https://forum.devtalk.com/user_avatar/forum.devtalk.com/lurnid/32/5642_2.png) [@lurnid](https://forum.devtalk.com/u/lurnid)\
**Post date:** [25 December 2023 19:33 UTC](https://forum.devtalk.com/t/programming-phoenix-liveview-render-slot-uses-wrong-argument-page103/137232/1 "2023-12-25T19:33:07Z")

</div>

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) %>`

---

<div class="post-metadata">

**Author:** ![SophieDeBenedetto](https://forum.devtalk.com/user_avatar/forum.devtalk.com/sophiedebenedetto/32/2521_2.png) [@SophieDeBenedetto](https://forum.devtalk.com/u/SophieDeBenedetto)\
**Post date:** [16 September 2024 02:20 UTC](https://forum.devtalk.com/t/programming-phoenix-liveview-render-slot-uses-wrong-argument-page103/137232/2 "2024-09-16T02:20:21Z")

</div>

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