From 378dc5f8ec1bd02d539719d4b9e617f25f6475a1 Mon Sep 17 00:00:00 2001 From: Graham McIntire Date: Tue, 27 Jan 2026 11:09:59 -0600 Subject: [PATCH] dialyzer fix --- lib/towerops_web/live/network_map_live.ex | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/towerops_web/live/network_map_live.ex b/lib/towerops_web/live/network_map_live.ex index f40ceecb..55fdf927 100644 --- a/lib/towerops_web/live/network_map_live.ex +++ b/lib/towerops_web/live/network_map_live.ex @@ -9,9 +9,10 @@ defmodule ToweropsWeb.NetworkMapLive do organization = socket.assigns.current_organization # Subscribe to topology changes if connected - if connected?(socket) do - Phoenix.PubSub.subscribe(Towerops.PubSub, "topology:#{organization.id}") - end + _ = + if connected?(socket) do + Phoenix.PubSub.subscribe(Towerops.PubSub, "topology:#{organization.id}") + end # Default empty topology default_topology = %{