From 4e6e29c242b2da0d8e360f321360d54b78c6a33e Mon Sep 17 00:00:00 2001 From: Kieran Eglin Date: Thu, 21 Nov 2024 14:36:31 -0800 Subject: [PATCH] Removed outdated comment --- .../controllers/sources/source_html/index_table_live.ex | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/pinchflat_web/controllers/sources/source_html/index_table_live.ex b/lib/pinchflat_web/controllers/sources/source_html/index_table_live.ex index f64d746..9c4992d 100644 --- a/lib/pinchflat_web/controllers/sources/source_html/index_table_live.ex +++ b/lib/pinchflat_web/controllers/sources/source_html/index_table_live.ex @@ -68,8 +68,6 @@ defmodule PinchflatWeb.Sources.IndexTableLive do {:ok, _} = Sources.update_source(source, %{enabled: should_enable}) - # NOTE: I'm not re-rendering the view here since, at least in this case, the UI's state - # tracking mechanisms are good enough {:noreply, assign(socket, %{sources: get_sources()})} end