mirror of
https://github.com/mue/mue.git
synced 2026-07-18 14:34:12 +02:00
fix: many bug fixes and some performance improvements
Co-authored-by: Alex Sparkes <turbomarshmello@gmail.com>
This commit is contained in:
@@ -25,7 +25,7 @@ import Sideload from '@material-ui/icons/Code';
|
||||
// Store
|
||||
import Added from '@material-ui/icons/AddCircleOutline';
|
||||
|
||||
export default function Tab(props) {
|
||||
function Tab(props) {
|
||||
let className = 'tab-list-item';
|
||||
if (props.currentTab === props.label) {
|
||||
className += ' tab-list-active';
|
||||
@@ -88,3 +88,5 @@ export default function Tab(props) {
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
export default React.memo(Tab);
|
||||
Reference in New Issue
Block a user