fix: import lodash in component

This commit is contained in:
jialin
2025-02-12 19:34:09 +08:00
parent d3212c8b49
commit 9671f57b65
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -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';