From c4171836179b9f7e7aca60d4460b5f32490e827e Mon Sep 17 00:00:00 2001 From: kunish Date: Fri, 16 Jun 2023 15:08:58 +0800 Subject: [PATCH] feat(rules): hide remove button if selected --- src/components/SimpleCard.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/SimpleCard.tsx b/src/components/SimpleCard.tsx index fe8e1fc6..edcad7c2 100644 --- a/src/components/SimpleCard.tsx +++ b/src/components/SimpleCard.tsx @@ -41,7 +41,7 @@ export const SimpleCard = ({ - {onRemove && ( + {!selected && onRemove && (