From 80e99b7de85f7c48f19d1c503db73c49b6567dac Mon Sep 17 00:00:00 2001 From: KKlochko Date: Mon, 26 May 2025 14:30:53 +0300 Subject: [PATCH] Remove extra debug logs which used to inspect a state. --- .../components/my_components/selected_author.ex | 2 -- .../live/author_live/form_component.ex | 3 --- 2 files changed, 5 deletions(-) diff --git a/lib/decentralised_book_index_web/components/my_components/selected_author.ex b/lib/decentralised_book_index_web/components/my_components/selected_author.ex index 6f3dfc0..d7e9716 100644 --- a/lib/decentralised_book_index_web/components/my_components/selected_author.ex +++ b/lib/decentralised_book_index_web/components/my_components/selected_author.ex @@ -20,8 +20,6 @@ defmodule DecentralisedBookIndexWeb.Components.MyComponents.SelectedAuthor do errors = if Phoenix.Component.used_input?(assigns.author_form), do: assigns.author_form.errors, else: [] - IO.inspect("errors") - IO.inspect(errors) assigns = assigns diff --git a/lib/decentralised_book_index_web/live/author_live/form_component.ex b/lib/decentralised_book_index_web/live/author_live/form_component.ex index 0536851..71f73c3 100644 --- a/lib/decentralised_book_index_web/live/author_live/form_component.ex +++ b/lib/decentralised_book_index_web/live/author_live/form_component.ex @@ -158,9 +158,6 @@ defmodule DecentralisedBookIndexWeb.AuthorLive.FormComponent do end def handle_event("select-author-alias", %{"author-alias" => author_alias_id}, socket) do - IO.inspect("book_editions_registry_id") - IO.inspect(author_alias_id) - socket = socket |> update(:form, fn form ->