diff --git a/web/src/routes/Logs.jsx b/web/src/routes/Logs.jsx index 042464360..a6ab476aa 100644 --- a/web/src/routes/Logs.jsx +++ b/web/src/routes/Logs.jsx @@ -1,23 +1,8 @@ import { h } from 'preact'; import Heading from '../components/Heading'; import { useEffect } from 'preact/hooks'; -import { tail } from 'tail'; - -const Tail = tail.Tail; export default function Logs() { - const stdout = new Tail("/dev/stdout"); - - useEffect(() => { - stdout.on("line", (data) => { - console.log(data); - }); - - return () => { - stdout.unwatch(); - }; - }); - return (