Skip to content

Commit

Permalink
Clean up formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
zacksiri committed Dec 25, 2024
1 parent e1eb27f commit 9fd431c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/opsmaru_web/live/pricing_live.ex
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,9 @@ defmodule OpsmaruWeb.PricingLive do
class="relative inline-block"
data-products={Jason.encode_to_iodata!(@products)}
data-interval={@interval}
data-selected={@focus_product} phx-hook="MountProducts">
data-selected={@focus_product}
phx-hook="MountProducts"
>
</div>
</td>
<td class="p-0 text-right">
Expand Down Expand Up @@ -227,7 +229,6 @@ defmodule OpsmaruWeb.PricingLive do

@impl true
def handle_params(%{"interval" => interval} = params, _uri, %{assigns: assigns} = socket) do

prices = load_prices(interval)

active_products_names = Enum.map(prices, & &1.product.name)
Expand Down

0 comments on commit 9fd431c

Please sign in to comment.