defmodule LivebookWeb.JSViewComponent do use LivebookWeb, :live_component @impl true def update(assigns, socket) do {:ok, socket |> assign(assigns) |> assign_new(:timeout_message, fn -> "Not available" end)} end @impl true def render(assigns) do ~H"""