Skip to content

Commit

Permalink
Add missing right bracket for the assign (#2699)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lionstiger authored Jun 17, 2023
1 parent 8e1c164 commit 87ae679
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guides/client/form-bindings.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ callbacks, to validate and attempt to save the parameter accordingly:
def render(assigns) ...

def mount(_params, _session, socket) do
{:ok, assign(socket, form: to_form(Accounts.change_user(%User{}))}
{:ok, assign(socket, form: to_form(Accounts.change_user(%User{})))}
end

def handle_event("validate", %{"user" => params}, socket) do
Expand Down

0 comments on commit 87ae679

Please sign in to comment.