Skip to content

Commit

Permalink
CP-9278: fixed useCallback not used properly (#1835)
Browse files Browse the repository at this point in the history
  • Loading branch information
ruijialin-avalabs authored Sep 27, 2024
1 parent c8d97fc commit 81b5ba9
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,7 @@ const Portfolio = (): JSX.Element => {
<PortfolioHeader />
<TabViewAva
currentTabIndex={params?.tabIndex}
onTabIndexChange={tabIndex => {
captureAnalyticsEvents(tabIndex)
}}
onTabIndexChange={captureAnalyticsEvents}
hideSingleTab={false}
renderCustomLabel={renderCustomLabel}>
<TabViewAva.Item title={'Assets'}>
Expand Down

0 comments on commit 81b5ba9

Please sign in to comment.