Skip to content

Commit

Permalink
[新增功能](develop): update
Browse files Browse the repository at this point in the history
  • Loading branch information
hocgin committed Jan 1, 2023
1 parent 5f6aa32 commit e7e4de3
Showing 1 changed file with 11 additions and 15 deletions.
26 changes: 11 additions & 15 deletions src/Comment/components/History/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,21 +26,17 @@ export const ExpandHistoryButton: React.FC<{
title: '回溯评论',
content: (
<>
<List
loading={loading}
dataSource={data || []}
renderItem={(item: CommentType, index) => (
<List.Item key={index}>
<Comment
hasUserOptions={false}
hasHistory={false}
hasLoadChild={false}
initialLoad={false}
comment={item}
useAction={useAction}
/>
</List.Item>
)}
<List dataSource={data || []}
renderItem={(item: CommentType, index) => <List.Item key={index}>
<Comment
hasUserOptions={false}
hasHistory={false}
hasLoadChild={false}
initialLoad={false}
comment={item}
useAction={useAction}
/>
</List.Item>}
/>
</>
),
Expand Down

0 comments on commit e7e4de3

Please sign in to comment.