fix: add key to Fragment in map for monitor items
This commit is contained in:
parent
6312ec6eed
commit
9949b973bd
@ -51,15 +51,14 @@ export const StatusPageBody: React.FC<StatusPageBodyProps> = React.memo(
|
||||
{group.children.map((item) => {
|
||||
if (item.type === 'monitor') {
|
||||
return (
|
||||
<>
|
||||
<React.Fragment key={item.key}>
|
||||
<Separator />
|
||||
<StatusItemMonitor
|
||||
key={item.key}
|
||||
workspaceId={props.workspaceId}
|
||||
monitorId={item.id}
|
||||
showCurrent={item.showCurrent ?? false}
|
||||
/>
|
||||
</>
|
||||
</React.Fragment>
|
||||
);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user