Optimize submenu in ToolsFramework. Optimize code
This commit is contained in:
@@ -24,7 +24,7 @@ const Indicator: React.FC<IndicatorProps> = (props) => {
|
||||
return (
|
||||
<li
|
||||
key={index}
|
||||
className={'item center-box' + (index === current ? ' active' : '')}
|
||||
className={`item center-box${index === current ? ' active' : ''}`}
|
||||
onClick={handleClick(index)}
|
||||
>
|
||||
<div className={'dot'} />
|
||||
|
||||
Reference in New Issue
Block a user