diff --git a/lib/livebook_web/live/home_live/session_list_component.ex b/lib/livebook_web/live/home_live/session_list_component.ex index 8fde891f7..ab66d2a9d 100644 --- a/lib/livebook_web/live/home_live/session_list_component.ex +++ b/lib/livebook_web/live/home_live/session_list_component.ex @@ -24,11 +24,7 @@ defmodule LivebookWeb.HomeLive.SessionListComponent do socket = socket |> assign(assigns) - |> assign( - sessions: sessions, - show_autosave_note?: show_autosave_note?, - memory: memory_info() - ) + |> assign(sessions: sessions, show_autosave_note?: show_autosave_note?) {:ok, socket} end @@ -41,16 +37,7 @@ defmodule LivebookWeb.HomeLive.SessionListComponent do

Running sessions (<%= length(@sessions) %>)

- -
- <%= format_bytes(@memory.used) %> / <%= format_bytes(@memory.total) %> -
-
-
-
-
-
+ <.memory_info /> <.menu id="sessions-order-menu"> <:toggle>