Skip to content

Commit

Permalink
fix: format
Browse files Browse the repository at this point in the history
  • Loading branch information
JoaoCoelho2003 committed Sep 12, 2024
1 parent 57d689d commit 3802137
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion lib/atomic_web/live/announcement_live/form_component.ex
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,10 @@ defmodule AtomicWeb.AnnouncementLive.FormComponent do
announcement_params =
Map.put(announcement_params, "organization_id", socket.assigns.organization.id)

case Organizations.create_announcement_with_post(announcement_params, &consume_image_data(socket, &1)) do
case Organizations.create_announcement_with_post(
announcement_params,
&consume_image_data(socket, &1)
) do
{:ok, _announcement} ->
{:noreply,
socket
Expand Down
2 changes: 1 addition & 1 deletion lib/atomic_web/live/announcement_live/index.ex
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule AtomicWeb.AnnouncementLive.Index do
use AtomicWeb, :live_view

import AtomicWeb.Components.{Announcement,Button, Empty, Pagination, Tabs}
import AtomicWeb.Components.{Announcement, Button, Empty, Pagination, Tabs}

alias Atomic.Accounts
alias Atomic.Organizations
Expand Down
2 changes: 1 addition & 1 deletion lib/atomic_web/live/announcement_live/show.html.heex
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
</div>
</.link>
<% end %>
</div>
</div>

0 comments on commit 3802137

Please sign in to comment.