fix(design-system): tab view selected match was incorrect type

This commit is contained in:
41666 2020-10-11 06:09:20 -04:00
parent 2d919c6053
commit 2bb7d8666d

View file

@ -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}`}
>