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