fix: import lodash in component
This commit is contained in:
@@ -278,4 +278,4 @@ const Catalog: React.FC = () => {
|
|||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
export default React.memo(Catalog);
|
export default Catalog;
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
import breakpoints from '@/config/breakpoints';
|
import breakpoints from '@/config/breakpoints';
|
||||||
import { Col, FloatButton, Row, Spin } from 'antd';
|
import { Col, FloatButton, Row, Spin } from 'antd';
|
||||||
|
import _ from 'lodash';
|
||||||
import ResizeObserver from 'rc-resize-observer';
|
import ResizeObserver from 'rc-resize-observer';
|
||||||
import React, { useCallback } from 'react';
|
import React, { useCallback } from 'react';
|
||||||
import { CatalogItem as CatalogItemType } from '../config/types';
|
import { CatalogItem as CatalogItemType } from '../config/types';
|
||||||
|
|||||||
Reference in New Issue
Block a user