Skip to content

Commit 76f66b0

Browse files
committed
Stop passing no longer necessary @socket argument to live_component
1 parent 2f8f44b commit 76f66b0

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
<div class="flex h-full flex-col sm:flex-row">
22
<div class="flex-1 sm:h-full overflow-scroll">
33
<div class="h-full flex flex-col">
4-
<%= live_component(@socket, HistoryComponent, output: @output, id: :history) %>
5-
<%= live_component(@socket, CommandInputComponent,
6-
history: @history, bindings: @sandbox.bindings, id: :command_input) %>
4+
<%= live_component(HistoryComponent, output: @output, id: :history) %>
5+
<%= live_component(CommandInputComponent, history: @history, bindings: @sandbox.bindings, id: :command_input) %>
76
</div>
87
</div>
9-
<%= live_component(@socket, SidebarComponent,
8+
<%= live_component(SidebarComponent,
109
sandbox: @sandbox, contextual_help: @contextual_help, suggestions: @suggestions)
1110
%>
1211
</div>

0 commit comments

Comments
 (0)