Skip to content

Commit

Permalink
fix: 修复 usePrevious 报错 (#2464)
Browse files Browse the repository at this point in the history
  • Loading branch information
honkinglin authored Aug 24, 2023
1 parent 66888be commit ee7b7cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/table/hooks/useTreeDataExpand.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { useEffect, useState } from 'react';
import usePrevious from 'tdesign-react/hooks/usePrevious';
import usePrevious from '../../hooks/usePrevious';
import { TdEnhancedTableProps, TableRowData } from '../type';
import useControlled from '../../hooks/useControlled';
import TableTreeStore, { diffExpandedTreeNode, getUniqueRowValue } from '../../_common/js/table/tree-store';
Expand Down

0 comments on commit ee7b7cb

Please sign in to comment.