mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-04-25 03:49:11 +00:00
fix(design-system): tab view selected match was incorrect type
This commit is contained in:
parent
2d919c6053
commit
2bb7d8666d
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ export const TabView = (props: TabViewProps) => {
|
|||
<TabTitleRow>
|
||||
{tabNames.map((tabName, idx) => (
|
||||
<TabTitle
|
||||
selected={currentTab === tabName}
|
||||
selected={currentTab === idx}
|
||||
onClick={() => setCurrentTab(idx)}
|
||||
key={`tab${tabName}${idx}`}
|
||||
>
|
||||
|
|
Loading…
Add table
Reference in a new issue