Skip to content

Commit

Permalink
fix bug in stream container
Browse files Browse the repository at this point in the history
  • Loading branch information
benswift committed Nov 12, 2024
1 parent ac15206 commit 4513eb0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/imaginative_restoration_web/live/prompt_live.ex
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,7 @@ defmodule ImaginativeRestorationWeb.PromptLive do
<section class="grid grid-cols-1 gap-4">
<h2 class="text-lg font-semibold">Last 5 captures</h2>
<div id="sketches" phx-update="stream">
<div :for={{dom_id, sketch} <- @streams.sketches}>
<.sketch sketch={sketch} id={dom_id} />
</div>
<.sketch :for={{dom_id, sketch} <- @streams.sketches} sketch={sketch} id={dom_id} />
</div>
</section>
</div>
Expand Down

0 comments on commit 4513eb0

Please sign in to comment.