From 14c7ad629e66102efabac2ef8d74407f83d0f43c Mon Sep 17 00:00:00 2001 From: Jonathan Gao Date: Tue, 9 Jul 2024 15:33:07 +0800 Subject: [PATCH] fix: Fix async card. --- apps/phoenix_duskmoon/lib/phoenix_duskmoon/component/card.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/phoenix_duskmoon/lib/phoenix_duskmoon/component/card.ex b/apps/phoenix_duskmoon/lib/phoenix_duskmoon/component/card.ex index 945ef3d..14e9e82 100644 --- a/apps/phoenix_duskmoon/lib/phoenix_duskmoon/component/card.ex +++ b/apps/phoenix_duskmoon/lib/phoenix_duskmoon/component/card.ex @@ -207,7 +207,7 @@ defmodule PhoenixDuskmoon.Component.Card do Map.get(action, :class, ""), ]} > - <%= render_slot(action) %> + <%= render_slot(action, Map.get(@assign, :result)) %>