Major cleanup, fix shortids, and more
This commit is contained in:
parent
d9411642b6
commit
f74d0ee58a
9 changed files with 436 additions and 249 deletions
|
|
@ -15,5 +15,11 @@ export default ({ id }) => {
|
|||
return () => clearInterval(handle);
|
||||
}, [setLogs, id]);
|
||||
|
||||
return (<code>{logs}</code>);
|
||||
return (
|
||||
<code>
|
||||
{logs.split('\n').map((log) => (
|
||||
<p>{log}</p>
|
||||
))}
|
||||
</code>
|
||||
);
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue