Fix a react console error

This commit is contained in:
Igor Katson 2023-12-14 12:01:02 +00:00
parent 325855ba56
commit 5a30b3fb0c
No known key found for this signature in database
GPG key ID: B4EC22B66D61A3F5
3 changed files with 4 additions and 4 deletions

File diff suppressed because one or more lines are too long

View file

@ -11,7 +11,7 @@
"css": [
"assets/index-bc066ae5.css"
],
"file": "assets/index-9e7b65dd.js",
"file": "assets/index-9469b905.js",
"isEntry": true,
"src": "index.html"
}

View file

@ -204,8 +204,8 @@ export const LogStream: React.FC<LogStreamProps> = ({ url, maxLines }) => {
</Form>
{logLines.map((line) => (
<div hidden={!line.show}>
<LogLine key={line.id} line={line.parsed} />
<div key={line.id} hidden={!line.show}>
<LogLine line={line.parsed} />
</div>
))}
</div>