NERDDISCO's picture
recover: restore deleted src/lerobot/node/ folder from ec936d5
130ae50
raw
history blame
538 Bytes
import { useState } from "react";
import { Home } from "./pages/Home";
import { ErrorBoundary } from "./components/ErrorBoundary";
import type { RobotConnection } from "@lerobot/web";
export function App() {
const [connectedRobots, setConnectedRobots] = useState<RobotConnection[]>([]);
return (
<ErrorBoundary>
<div className="min-h-screen bg-background">
<Home
connectedRobots={connectedRobots}
onConnectedRobotsChange={setConnectedRobots}
/>
</div>
</ErrorBoundary>
);
}