Signal drop!
Relay (operand.online) is unreachable.
Usually, a dropped signal means an upgrade is happening. Hold on!
Sorry, no connección.
Hang in there while we get back on track
gram:op
> ./lib/op_web/live/gram/base.ex
Lenses
(coming soon!)
defmodule OpWeb.Gram.Base do
use OpWeb, :live_view
def address, do: System.get_env("GRAM_BASE") || "../"
# (socket |> get_connect_params)["colorscheme"] |> IO.inspect
@impl true
def mount(_params, _session, socket) do
{:ok, socket}
end
@impl true
# https://hexdocs.pm/phoenix_live_view/Phoenix.LiveView.html#c:handle_params/3
def handle_params(params, _, socket) do
{:noreply,
socket
|> assign(:page_title, "gram:" <> params["base"] <> " | Operand")
|> assign(:base, params["base"])
|> assign(:address, params["a"])
}
end
end