Commit edaef0a2 authored by ι™ˆεΈ…'s avatar ι™ˆεΈ…

Remove redundant package references

parent 5b3826d6
import React, { PureComponent, createElement } from 'react';
import pathToRegexp from 'path-to-regexp';
import { Breadcrumb, Tabs, Card } from 'antd';
import memoizeOne from 'memoize-one';
import deepEqual from 'lodash.isequal';
import classNames from 'classnames';
import styles from './index.less';
import { urlToList } from '../_utils/pathTools';
......@@ -21,11 +19,6 @@ export const getBreadcrumb = (breadcrumbNameMap, url) => {
};
export default class PageHeader extends PureComponent {
constructor(props) {
super(props);
this.conversionFromLocation = memoizeOne(this.conversionFromLocation, deepEqual);
}
state = {
breadcrumb: null,
};
......
import React from 'react';
import { Layout } from 'antd';
import DocumentTitle from 'react-document-title';
import deepEqual from 'lodash.isequal';
import memoizeOne from 'memoize-one';
import { connect } from 'dva';
import { ContainerQuery } from 'react-container-query';
......@@ -35,7 +36,7 @@ const getBreadcrumbNameMap = memoizeOne(meun => {
};
mergeMeunAndRouter(meun);
return routerMap;
});
}, deepEqual);
const query = {
'screen-xs': {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment