Skip to content

Commit

Permalink
Dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
mveytsman committed May 22, 2024
1 parent 6062015 commit 0c1f461
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions lib/bike_brigade_web/live/campaign_signup_live/show.ex
Original file line number Diff line number Diff line change
Expand Up @@ -191,23 +191,6 @@ defmodule BikeBrigadeWeb.CampaignSignupLive.Show do
"""
end

defp truncated_riders_notes(assigns) do
if String.length(assigns.note) > 40 do
~H"""
<div class="w-[40ch] flex items-center">
<details>
<summary class="cursor-pointer"><%= String.slice(@note, 0..40) %>...</summary>
<%= @note %>
</details>
</div>
"""
else
~H"""
<div><%= @note %></div>
"""
end
end

@doc """
Shows one of the following:
- A "Sign up" button if the campaign is eligible for signing up
Expand Down

0 comments on commit 0c1f461

Please sign in to comment.