mirror of
https://github.com/wassname/talk.git
synced 2026-07-28 11:27:05 +08:00
Missing tab wrapper
This commit is contained in:
@@ -5,7 +5,7 @@ export default ({children, tabId, active, onTabClick, cStyle = 'base'}) => (
|
||||
<li
|
||||
key={tabId}
|
||||
className={active ? styles[`${cStyle}--active`] : ''}
|
||||
onClick={onTabClick(tabId)}
|
||||
onClick={() => onTabClick(tabId)}
|
||||
>
|
||||
{children}
|
||||
</li>
|
||||
|
||||
Reference in New Issue
Block a user