mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-07-01 18:52:20 +08:00
fix: use React.Fragment for rendering items in Grid component
This commit is contained in:
parent
c2d77907ae
commit
df7434c970
@ -47,7 +47,7 @@ export function Grid(props: {
|
||||
<Col key={cellIdx} span={spans[cellIdx]}>
|
||||
<div style={{ display: 'flex', flexDirection: 'column', gap: 16 }}>
|
||||
{cell.map((uid) => (
|
||||
<div key={uid}>{renderItem(uid)}</div>
|
||||
<React.Fragment key={uid}>{renderItem(uid)}</React.Fragment>
|
||||
))}
|
||||
</div>
|
||||
</Col>
|
||||
|
Loading…
x
Reference in New Issue
Block a user