Skip to content

Commit c44c48e

Browse files
authored
JS.transition example html tag fix (#3698)
1 parent c21298e commit c44c48e

File tree

1 file changed

+1
-1
lines changed
  • lib/phoenix_live_view

1 file changed

+1
-1
lines changed

lib/phoenix_live_view/js.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -674,7 +674,7 @@ defmodule Phoenix.LiveView.JS do
674674
675675
<div phx-mounted={JS.transition({"ease-out duration-300", "opacity-0", "opacity-100"}, time: 300)}>
676676
duration-300 milliseconds matches time: 300 milliseconds
677-
<div>
677+
</div>
678678
```
679679
"""
680680
def transition(transition) when is_binary(transition) or is_tuple(transition) do

0 commit comments

Comments
 (0)