File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -357,7 +357,7 @@ const Tabs: React.FC<TabsProps> = ({
357
357
children = {
358
358
< div className = "tab-content" >
359
359
< span
360
- ref = { el => titleRefs . current [ tab . id ] = el }
360
+ ref = { el => { titleRefs . current [ tab . id ] = el ; } }
361
361
className = { `tab-title ${ overflowMap [ tab . id ] ? 'tab-title-overflow' : '' } ` }
362
362
>
363
363
{ selectedTabId === tab . id && displayPadLoadingIndicator ? "..." : tab . title }
@@ -379,7 +379,7 @@ const Tabs: React.FC<TabsProps> = ({
379
379
children = {
380
380
< div className = "tab-content" >
381
381
< span
382
- ref = { el => titleRefs . current [ tab . id ] = el }
382
+ ref = { el => { titleRefs . current [ tab . id ] = el ; } }
383
383
className = { `tab-title ${ overflowMap [ tab . id ] ? 'tab-title-overflow' : '' } ` }
384
384
>
385
385
{ tab . title }
You can’t perform that action at this time.
0 commit comments