What does `restore_if_unsaved` do in the todo_trek project?

Title kinda says it, but I was looking through the todo_trek project, excellent btw, and saw an event handler for the restore_if_unsaved event in TodoTrekWeb.TodoListComponent. I don’t see the event referenced anywhere in the code or phoenix_live_view code. Just curious if this is dead code or this is an event that gets fired by the framework in reaction to maybe connection failure?

Code for reference:

Looks like dead code to me. It was possible there as the project was being iterated on and the abstractions were being built. :slight_smile: