From 9b18319486e8a5383aa057e1f6a634bae8ebff3e Mon Sep 17 00:00:00 2001 From: Robert Date: Mon, 18 Mar 2024 22:31:53 +0700 Subject: [PATCH] display audio action --- src/widgets/action-card/ui/ActionCard.tsx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/widgets/action-card/ui/ActionCard.tsx b/src/widgets/action-card/ui/ActionCard.tsx index cc75d6a..9beaf8f 100644 --- a/src/widgets/action-card/ui/ActionCard.tsx +++ b/src/widgets/action-card/ui/ActionCard.tsx @@ -147,6 +147,13 @@ export default function ActionCard({ className={`w-full select-none ${!action.text && "rounded-b-md"} rounded-t-md`} /> )} + {attachmentType === "voice" && ( +
+ +
+ )} {action.text &&
{action.text}
} );