Skip to content

Commit

Permalink
Fixed typo related to live_render session syntax (#3569)
Browse files Browse the repository at this point in the history
  • Loading branch information
kieraneglin authored Dec 13, 2024
1 parent 09d798c commit 55a2e1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/phoenix_component.ex
Original file line number Diff line number Diff line change
Expand Up @@ -904,7 +904,7 @@ defmodule Phoenix.Component do
Or:
```heex
{live_render(@conn, MyApp.ThermostatLive, session:}"home_id" => @home.id}) %>
{live_render(@conn, MyApp.ThermostatLive, session: %{"home_id" => @home.id}) %>
```
Within another LiveView, you must pass the `:id` option:
Expand Down

0 comments on commit 55a2e1d

Please sign in to comment.