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> = ({
357357 children = {
358358 < div className = "tab-content" >
359359 < span
360- ref = { el => titleRefs . current [ tab . id ] = el }
360+ ref = { el => { titleRefs . current [ tab . id ] = el ; } }
361361 className = { `tab-title ${ overflowMap [ tab . id ] ? 'tab-title-overflow' : '' } ` }
362362 >
363363 { selectedTabId === tab . id && displayPadLoadingIndicator ? "..." : tab . title }
@@ -379,7 +379,7 @@ const Tabs: React.FC<TabsProps> = ({
379379 children = {
380380 < div className = "tab-content" >
381381 < span
382- ref = { el => titleRefs . current [ tab . id ] = el }
382+ ref = { el => { titleRefs . current [ tab . id ] = el ; } }
383383 className = { `tab-title ${ overflowMap [ tab . id ] ? 'tab-title-overflow' : '' } ` }
384384 >
385385 { tab . title }
You can’t perform that action at this time.
0 commit comments