|
|
@@ -15,13 +15,11 @@ const Client = ({ name, client, connection, ...rest }) => {
|
|
|
<Panel header={name} {...rest}>
|
|
|
<p>IP address: {client}</p>
|
|
|
<div style={{ overflowY: "scroll", height: 200 }}>
|
|
|
- {Object.keys(connection?.state)?.map((o, i) => {
|
|
|
- return (
|
|
|
- <div>
|
|
|
- <strong>{o}:</strong> {normalize(connection?.state?.[o])}
|
|
|
- </div>
|
|
|
- );
|
|
|
- })}
|
|
|
+ {Object.keys(connection?.state)?.map((o, i) => (
|
|
|
+ <div key={i}>
|
|
|
+ <strong>{o}:</strong> {normalize(connection?.state?.[o])}
|
|
|
+ </div>
|
|
|
+ ))}
|
|
|
</div>
|
|
|
</Panel>
|
|
|
);
|