Skip to content

Commit

Permalink
4 matt
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Nelson committed Sep 19, 2024
1 parent 16fc4f7 commit 1964cf0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/e2e/support/custom_events_live.ex
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
defmodule Phoenix.LiveViewTest.E2E.CustomEventsLive do
use Phoenix.LiveView, layout: {__MODULE__, :live}


@impl Phoenix.LiveView
def render("live.html", assigns) do
~H"""
Expand Down Expand Up @@ -38,8 +37,8 @@ defmodule Phoenix.LiveViewTest.E2E.CustomEventsLive do
@impl Phoenix.LiveView
def render(assigns) do
~H"""
<my-button id="mybutton" phx-custom-events="my_event"></my-button>
<div id="foo"><%= @foo %></div>
<my-button id="mybutton" phx-custom-events="my_event"></my-button>
<div id="foo"><%= @foo %></div>
"""
end

Expand Down

0 comments on commit 1964cf0

Please sign in to comment.