From 61f519cc3f4668e509c1860ef62f434c21eb879a Mon Sep 17 00:00:00 2001 From: Leandro Pereira Date: Fri, 10 Nov 2023 10:46:34 -0500 Subject: [PATCH] format --- .../live_admin/live/page_editor_live/event_handlers.ex | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/beacon/live_admin/live/page_editor_live/event_handlers.ex b/lib/beacon/live_admin/live/page_editor_live/event_handlers.ex index 015795a2..8dec2789 100644 --- a/lib/beacon/live_admin/live/page_editor_live/event_handlers.ex +++ b/lib/beacon/live_admin/live/page_editor_live/event_handlers.ex @@ -14,7 +14,10 @@ defmodule Beacon.LiveAdmin.PageEditorLive.EventHandlers do # For the first page load def handle_params(params, _url, socket) do - page = Content.get_page(socket.assigns.beacon_page.site, params["page_id"], preloads: [:event_handlers]) + page = + Content.get_page(socket.assigns.beacon_page.site, params["page_id"], + preloads: [:event_handlers] + ) socket = socket @@ -46,7 +49,7 @@ defmodule Beacon.LiveAdmin.PageEditorLive.EventHandlers do %{selected: selected, beacon_page: %{site: site}, form: form} = socket.assigns params = Map.merge(form.params, %{"code" => code}) - changeset = Content.change_page_event_handler(site, selected, params) + changeset = Content.change_page_event_handler(site, selected, params) socket = socket