mirror of
https://github.com/fly-apps/live_beats.git
synced 2024-05-18 09:12:41 +00:00
Merge a459196cd8
into bb8f14cfe1
This commit is contained in:
commit
5ba851119c
|
@ -126,9 +126,9 @@ defmodule LiveBeatsWeb.LiveHelpers do
|
|||
assigns = assign_new(assigns, :class, fn -> nil end)
|
||||
|
||||
~H"""
|
||||
<a href={@navigate} data-phx-link="redirect" data-phx-link-state="push" class={@class}>
|
||||
<%= live_redirect to: @navigate, class: @class do %>
|
||||
<%= render_slot(@inner_block) %>
|
||||
</a>
|
||||
<% end %>
|
||||
"""
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue