@@ -45,7 +45,6 @@ defmodule LiveDebugger.App.Debugger.NodeState.StreamUtils do
4545 update_list
4646 |> Enum . flat_map ( & flatten_stream_updates ( & 1 ) )
4747
48- dbg ( update_list )
4948 update_list
5049 end
5150
@@ -59,7 +58,6 @@ defmodule LiveDebugger.App.Debugger.NodeState.StreamUtils do
5958 update_map
6059 |> Enum . flat_map ( & flatten_stream_initial_updates / 1 )
6160
62- dbg ( fun_list )
6361 fun_list
6462 end
6563
@@ -72,7 +70,7 @@ defmodule LiveDebugger.App.Debugger.NodeState.StreamUtils do
7270 defp update_stream_if_present ( acc , update , key ) do
7371 case Map . get ( update , key ) do
7472 % Phoenix.LiveView.LiveStream { } = stream ->
75- Map . update ( acc , key , [ ] , fn current ->
73+ Map . update ( acc , key , apply_stream_update ( [ ] , stream ) , fn current ->
7674 apply_stream_update ( current , stream )
7775 end )
7876
@@ -109,7 +107,6 @@ defmodule LiveDebugger.App.Debugger.NodeState.StreamUtils do
109107 |> Enum . take ( 1 )
110108 |> List . flatten ( )
111109
112- dbg ( update_list )
113110 update_list
114111 end
115112
@@ -205,8 +202,6 @@ defmodule LiveDebugger.App.Debugger.NodeState.StreamUtils do
205202 end
206203
207204 defp flatten_stream_updates ( stream_entry ) do
208- dbg ( stream_entry )
209-
210205 Enum . flat_map ( stream_entry , fn
211206 { _stream_name , % Phoenix.LiveView.LiveStream { } = stream } ->
212207 map_stream_entry_to_stream_function ( stream )
0 commit comments