fix: many bug fixes and some performance improvements

Co-authored-by: Alex Sparkes <turbomarshmello@gmail.com>
This commit is contained in:
David Ralph
2021-04-11 15:53:11 +01:00
parent 465596d22d
commit fbc656f978
16 changed files with 91 additions and 65 deletions

View File

@@ -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);