mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
fix tab change error
This commit is contained in:
parent
b114d7c529
commit
c65638592d
@ -23,7 +23,7 @@ export default function Tabs({
|
||||
<Tab
|
||||
className={styles.tab}
|
||||
key={item.title}
|
||||
onClick={() => handleTabChange(item.title)}
|
||||
onClick={handleTabChange ? () => handleTabChange(item.title) : null}
|
||||
>
|
||||
{item.title}
|
||||
</Tab>
|
||||
|
Loading…
Reference in New Issue
Block a user