We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c0c84ee commit c9cbb82Copy full SHA for c9cbb82
1 file changed
packages/form-render/src/form-render-core/src/core/RenderChildren/RenderList/CardList.js
@@ -1,4 +1,3 @@
1
-// import ArrowDown from '../../../components/ArrowDown';
2
import React from 'react';
3
import {
4
ArrowDownOutlined,
@@ -7,7 +6,7 @@ import {
7
6
CopyOutlined,
8
} from '@ant-design/icons';
9
import { Button, Popconfirm } from 'antd';
10
-import { useStore, useTools } from '../../../hooks';
+import { useTools } from '../../../hooks';
11
import Core from '../../index';
12
13
const CardList = ({
@@ -46,7 +45,7 @@ const CardList = ({
46
45
className={`fr-card-item ${
47
displayType === 'row' ? 'fr-card-item-row' : ''
48
}`}
49
- key={idx}
+ key={Date.now()}
50
>
51
<div className="fr-card-index">{idx + 1}</div>
52
<Core {...fieldsProps} />
0 commit comments