Programming Phoenix LiveView: handle_event("save", ...) not existing yet (p147)

instructions are “…by adding a 1 second sleep to the save event in promo_live.ex” but promo_live.ex does not have a save event yet. Only a validate event.

It’s easy to add the suggested code, but I thought it would be better to clear up the confusion.

Will do, thanks for the suggestion!