From bfce26bf4065ab538e8a5bcc9b4828e076c00f7d Mon Sep 17 00:00:00 2001 From: hasan-deriv Date: Fri, 22 Sep 2023 19:07:28 +0800 Subject: [PATCH] fix: improved conditions --- src/pages/trade-types/components/_tabs.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/trade-types/components/_tabs.tsx b/src/pages/trade-types/components/_tabs.tsx index ccc65f389e3..0bca48e060c 100644 --- a/src/pages/trade-types/components/_tabs.tsx +++ b/src/pages/trade-types/components/_tabs.tsx @@ -195,8 +195,8 @@ const Tabs = ({ id={tabID} aria-controls={panelID} selected={selected_tab === index} - aria-selected={selected_tab === index ? 'true' : 'false'} - aria-expanded={selected_tab === index ? 'true' : 'false'} + aria-selected={selected_tab === index} + aria-expanded={selected_tab === index} onClick={() => selectTab(index)} >