Skip to content
This repository has been archived by the owner on Sep 26, 2024. It is now read-only.

Commit

Permalink
fix: improved conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
hasan-deriv committed Sep 22, 2023
1 parent 218cce5 commit bfce26b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/trade-types/components/_tabs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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)}
>
<CommonHeaderSection
Expand Down

0 comments on commit bfce26b

Please sign in to comment.