Skip to content

Commit

Permalink
Merge pull request #1064 from phaleth/patch-1
Browse files Browse the repository at this point in the history
Fix typo in pic chat messages reading
  • Loading branch information
BrooklinJazz authored Aug 12, 2024
2 parents 904272b + 6ad2f1d commit 34d67b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reading/pic_chat_messages.livemd
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ When the LiveView first loads, it calls the `mount/3` function to assign a list

Then, `handle_params/3` delegates to the `apply_action/3` function to assign more data to the socket depending on whether or not the live action is `:index`, `:edit`, or `:new`:

* The `page_title` is different for each page. It controllers the text displayed at the top of the browser tab.
* The `page_title` is different for each page. It controls the text displayed at the top of the browser tab.
* The `:new` page creates a `Message` struct for the new message form.
* The `:edit` page retrieves an existing `Message` based on the `"id"` url param.
* `handle_info/3` receives a message from the form_component to insert a `Message` into the list of messages.
Expand Down

0 comments on commit 34d67b8

Please sign in to comment.