From 11a796216704c756c868e215740891a30d9b7ae4 Mon Sep 17 00:00:00 2001 From: KKlochko Date: Tue, 3 Jun 2025 10:55:19 +0300 Subject: [PATCH] Update the code format for components and LiveViews. --- .../components/core_components.ex | 17 ++++-- .../components/my_components/buttons.ex | 54 +++++++++++++++--- .../live/author_live/index.ex | 12 +--- .../live/author_live/show.ex | 5 +- .../live/book_live/form_component.ex | 56 +++++++++++-------- .../live/book_live/index.ex | 12 +--- .../live/book_live/show.ex | 35 +++++++++--- .../live/dbi_server_live/index.ex | 12 ++-- .../live/dbi_server_live/show.ex | 9 ++- .../live/publisher_live/show.ex | 5 +- .../live/user_live/index.ex | 13 +---- 11 files changed, 143 insertions(+), 87 deletions(-) diff --git a/lib/decentralised_book_index_web/components/core_components.ex b/lib/decentralised_book_index_web/components/core_components.ex index 0dafe96..15cda78 100644 --- a/lib/decentralised_book_index_web/components/core_components.ex +++ b/lib/decentralised_book_index_web/components/core_components.ex @@ -50,7 +50,11 @@ defmodule DecentralisedBookIndexWeb.CoreComponents do data-cancel={JS.exec(@on_cancel, "phx-remove")} class="relative z-50 hidden" > -