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": [ "css": [
"assets/index-bc066ae5.css" "assets/index-bc066ae5.css"
], ],
"file": "assets/index-9e7b65dd.js", "file": "assets/index-9469b905.js",
"isEntry": true, "isEntry": true,
"src": "index.html" "src": "index.html"
} }

View file

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