Programming Phoenix LiveView: output does not match p370

if active Pentominos do not showup on the screen it is due to this line on p369

defp assign_shapes(%{assigns: %{board: board}} = socket) do
shapes = Board.to_shapes(board)
assign(socket, shapes: shapes)
end