Programming Phoenix LiveView B7: Page 139

When restarting phx to try out the file upload changes as implicitly directed via:
“Now, if you point your browser at /products/new, you should see the file upload field displayed like this”, unfortunately an error occurs:

== Compilation error in file lib/pento_web/live/product_live/form_component.ex ==
** (CompileError) lib/pento_web/live/product_live/form_component.ex:19: undefined function handle_progress/3
    (elixir 1.12.2) src/elixir_locals.erl:114: anonymous fn/3 in :elixir_locals.ensure_no_undefined_local/3
    (stdlib 3.17) erl_eval.erl:685: :erl_eval.do_apply/6

That’s due to the presence of progress: &handle_progress/3 added on page 137 but not yet defined. That’s fixed by page 140. Perhaps it should be left out until then.