Programming Phoenix LiveView: duplicate code block; code referenced in text is not present in code block (page 179)

Hi there! Thanks for pointing this out. The code will be corrected in the next release. In the meantime, you can update your mount function as described here to get it working Programming Phoenix LiveView: Session Data B6.0 (p. 56)