From ca24a528acde8f1f3fc57f49fd7065db5490ebbe Mon Sep 17 00:00:00 2001 From: Tharun T Date: Fri, 5 Jul 2024 21:25:08 +0530 Subject: [PATCH] fix: optional show Signed-off-by: Tharun T --- src/custom/ActionButton/ActionButton.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/custom/ActionButton/ActionButton.tsx b/src/custom/ActionButton/ActionButton.tsx index f2b5878d..5ecfbc5f 100644 --- a/src/custom/ActionButton/ActionButton.tsx +++ b/src/custom/ActionButton/ActionButton.tsx @@ -72,7 +72,7 @@ export default function ActionButton({ {options - .filter((option) => option.show !== false) + .filter((option) => option?.show !== false) .map((option, index) => option.isDivider ? (