Skip to content

Commit 686c454

Browse files
committed
fix dialyzer warnings
1 parent 0bf7c01 commit 686c454

File tree

2 files changed

+1
-41
lines changed

2 files changed

+1
-41
lines changed

lib/algora_web/live/community_live.ex

Lines changed: 0 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ defmodule AlgoraWeb.CommunityLive do
7272
|> assign(:stats, stats)
7373
|> assign(:featured_collabs, featured_collabs)
7474
|> assign(:featured_devs, featured_devs)
75-
|> assign(:plans1, AlgoraWeb.PricingLive.get_plans1())
7675
|> assign(:total_contributors, total_contributors)
7776
|> assign(:total_countries, total_countries)
7877
|> assign(:selected_developer, nil)
@@ -512,44 +511,6 @@ defmodule AlgoraWeb.CommunityLive do
512511
</div>
513512
</section>
514513
515-
<section class="relative isolate py-16 sm:py-40 z-10">
516-
<div class="mx-auto px-6 lg:px-8">
517-
<div class="relative z-10 pb-4 xl:py-16">
518-
<div class="mx-auto max-w-7xl sm:text-center">
519-
<div class="mx-auto max-w-3xl space-y-2 lg:max-w-none">
520-
<h2 class="font-display text-2xl font-semibold tracking-tight text-foreground sm:text-6xl text-center mb-2 sm:mb-4">
521-
Simple, transparent pricing
522-
</h2>
523-
<p class="text-center font-medium text-base text-muted-foreground sm:text-xl mb-12 mx-auto">
524-
For individuals, OSS communities, and open/closed source companies
525-
</p>
526-
</div>
527-
</div>
528-
</div>
529-
530-
<div class="mx-auto lg:max-w-[95rem] mb-8 mt-8">
531-
<div class="flex items-start gap-4">
532-
<div class="flex-1">
533-
<h3 class="text-2xl font-semibold text-foreground mb-2">
534-
<div class="flex items-center gap-2">
535-
<.icon name="tabler-wallet" class="h-6 w-6 text-emerald-400" /> Payments
536-
</div>
537-
</h3>
538-
<p class="text-base text-foreground-light">
539-
Fund GitHub issues with USD rewards and pay when work is merged. Set up contracts for ongoing development work. Simple, outcome-based payments.
540-
</p>
541-
</div>
542-
</div>
543-
</div>
544-
545-
<div class="mx-auto grid grid-cols-1 gap-4 lg:gap-8 lg:max-w-[95rem] lg:grid-cols-2">
546-
<%= for plan <- @plans1 do %>
547-
<AlgoraWeb.PricingLive.pricing_card1 plan={plan} plans={@plans1} />
548-
<% end %>
549-
</div>
550-
</div>
551-
</section>
552-
553514
<section class="relative isolate">
554515
<div class="relative isolate -z-10 py-[35vw] sm:py-[25vw]">
555516
<div class="z-20 absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 transform">

lib/algora_web/live/crowdfund.ex

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,7 @@ defmodule AlgoraWeb.CrowdfundLive do
6464
|> assign(:bounty_form, to_form(BountyForm.changeset(%BountyForm{}, %{})))
6565
|> assign(:tip_form, to_form(TipForm.changeset(%TipForm{}, %{})))
6666
|> assign(:repo_form, to_form(RepoForm.changeset(%RepoForm{}, %{})))
67-
|> assign(:pending_action, nil)
68-
|> assign(:plans1, AlgoraWeb.PricingLive.get_plans1())}
67+
|> assign(:pending_action, nil)}
6968
end
7069

7170
attr :src, :string, required: true

0 commit comments

Comments
 (0)