From 37a83ed2f22074a0bee2728633b9dc24b3b906d2 Mon Sep 17 00:00:00 2001 From: Joao P Dubas Date: Wed, 22 Nov 2023 01:39:03 +0000 Subject: [PATCH] fix: properly provide :songs to form --- .../live/profile_live/upload_form_component.html.heex | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/live_beats_web/live/profile_live/upload_form_component.html.heex b/lib/live_beats_web/live/profile_live/upload_form_component.html.heex index 8446969..5b0cd2f 100644 --- a/lib/live_beats_web/live/profile_live/upload_form_component.html.heex +++ b/lib/live_beats_web/live/profile_live/upload_form_component.html.heex @@ -2,7 +2,8 @@

(songs expire every six hours)

<.form - for={:songs} + for={%{}} + as={:songs} id="song-form" class="space-y-8" phx-target={@myself}