Skip to content

Commit f84ef8e

Browse files
committed
chore: remove unused hook
1 parent 1db3817 commit f84ef8e

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

lib/algora_web/live/org/bounties_live.ex

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ defmodule AlgoraWeb.Org.BountiesLive do
55
alias Algora.Bounties
66
alias Algora.Bounties.Bounty
77

8-
on_mount AlgoraWeb.Org.BountyHook
9-
108
def mount(_params, _session, socket) do
119
open_bounties = Bounties.list_bounties(owner_id: socket.assigns.current_org.id, limit: 10, status: :open)
1210
paid_bounties = Bounties.list_bounties(owner_id: socket.assigns.current_org.id, limit: 10, status: :paid)
@@ -20,8 +18,7 @@ defmodule AlgoraWeb.Org.BountiesLive do
2018
|> assign(:paid_bounties, paid_bounties)
2119
|> assign(:claims, claims)
2220
|> assign(:open_count, length(open_bounties))
23-
|> assign(:completed_count, length(paid_bounties))
24-
|> assign(:new_bounty_form, to_form(%{"github_issue_url" => "", "amount" => ""}))}
21+
|> assign(:completed_count, length(paid_bounties))}
2522
end
2623

2724
def render(assigns) do

0 commit comments

Comments
 (0)