Update lib/live_beats_web/live/live_helpers.ex

This commit is contained in:
Chris McCord 2022-02-02 15:57:23 -05:00 committed by GitHub
parent b542a6f8a3
commit 8fd4c87a84
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -457,7 +457,7 @@ defmodule LiveBeatsWeb.LiveHelpers do
<%= render_slot(@inner_block) %>
</h1>
</div>
<%= if Enum.count(assigns.actions) > 0 do %>
<%= if Enum.count(@actions) > 0 do %>
<div class="mt-4 flex sm:mt-0 sm:ml-4 space-x-4">
<%= render_slot(@actions) %>
</div>