perf: new date picker and add purecomponent to more things

This commit is contained in:
David Ralph
2021-07-10 21:59:53 +01:00
parent ff3e2caf49
commit a01d778f65
9 changed files with 50 additions and 19 deletions

View File

@@ -14,7 +14,7 @@ import EventBus from '../../../modules/helpers/eventbus';
import './scss/index.scss';
export default class Navbar extends React.Component {
export default class Navbar extends React.PureComponent {
componentDidMount() {
EventBus.on('refresh', (data) => {
if (data === 'navbar') {