Skip to content

Commit 0585960

Browse files
committed
remove obsolete function
1 parent 05d5048 commit 0585960

File tree

4 files changed

+3
-11
lines changed

4 files changed

+3
-11
lines changed

lib/algora/bounties/schemas/bounty_listing.ex

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -120,9 +120,4 @@ defmodule Algora.Bounties.BountyListing do
120120
query
121121
end)
122122
end
123-
124-
# TODO: remove this once we have real data
125-
def sample_tickets do
126-
[]
127-
end
128123
end

lib/algora_web/live/bounties_live.ex

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,7 @@ defmodule AlgoraWeb.BountiesLive do
5050
status: :open,
5151
tech_stack: socket.assigns.current_user.tech_stack,
5252
limit: 100
53-
) ++
54-
Bounties.BountyListing.sample_tickets()
53+
)
5554

5655
assign(socket, :tickets, tickets)
5756
end

lib/algora_web/live/community/dashboard_live.ex

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -309,8 +309,7 @@ defmodule AlgoraWeb.Community.DashboardLive do
309309
status: :open,
310310
tech_stack: socket.assigns.current_user.tech_stack,
311311
limit: 100
312-
) ++
313-
Bounties.BountyListing.sample_tickets()
312+
)
314313

315314
assign(socket, :tickets, Enum.take(tickets, 6))
316315
end

lib/algora_web/live/user/dashboard_live.ex

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,8 +221,7 @@ defmodule AlgoraWeb.User.DashboardLive do
221221
status: :open,
222222
tech_stack: socket.assigns.current_user.tech_stack,
223223
limit: 100
224-
) ++
225-
Bounties.BountyListing.sample_tickets()
224+
)
226225

227226
assign(socket, :tickets, Enum.take(tickets, 6))
228227
end

0 commit comments

Comments
 (0)