From e568a2f073692229fad05c15845bcbc97bc047a8 Mon Sep 17 00:00:00 2001 From: shibao Date: Thu, 26 Jan 2023 18:11:56 -0500 Subject: [PATCH] fix credo --- lib/cannery_web/components/shot_group_table_component.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cannery_web/components/shot_group_table_component.ex b/lib/cannery_web/components/shot_group_table_component.ex index b6129b3..347e764 100644 --- a/lib/cannery_web/components/shot_group_table_component.ex +++ b/lib/cannery_web/components/shot_group_table_component.ex @@ -103,7 +103,7 @@ defmodule CanneryWeb.Components.ShotGroupTableComponent do {ammo_type_name, name_block} end - defp get_row_value(:date, assigns = %{date: _date}, _extra_data) do + defp get_row_value(:date, %{date: _date} = assigns, _extra_data) do ~H""" <.date date={@date} /> """