-2
@@ -10,8 +10,6 @@ defmodule LolAnalyticsWeb.ChampionComponents.ChampionCard do
|
||||
attr :props, Props, default: %Props{}
|
||||
|
||||
def champion_card(assigns) do
|
||||
# IO.inspect(assigns)
|
||||
|
||||
~H"""
|
||||
<.link patch={"/champions/#{@props.id}?team-position=#{@props.team_position}"}>
|
||||
<div class="flex flex-col rounded-xl bg-clip-border overflow-hidden bg-gray-200">
|
||||
|
||||
@@ -302,9 +302,6 @@ defmodule LoLAnalyticsWeb.CoreComponents do
|
||||
end
|
||||
|
||||
def input(%{type: "checkbox"} = assigns) do
|
||||
IO.puts(">>>>")
|
||||
IO.inspect(assigns)
|
||||
|
||||
assigns =
|
||||
assign_new(assigns, :checked, fn ->
|
||||
Phoenix.HTML.Form.normalize_value("checkbox", assigns[:value])
|
||||
|
||||
Reference in New Issue
Block a user