Spaces:
Running
Running
File size: 592 Bytes
0d9f1af |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
import React, { useState } from "react";
import { Home } from "./pages/Home";
import { ErrorBoundary } from "./components/ErrorBoundary";
import type { ConnectedRobot } from "./types";
export function App() {
const [connectedRobots, setConnectedRobots] = useState<ConnectedRobot[]>([]);
return (
<ErrorBoundary>
<div className="min-h-screen bg-background">
<Home
onGetStarted={() => {}} // No longer needed
connectedRobots={connectedRobots}
onConnectedRobotsChange={setConnectedRobots}
/>
</div>
</ErrorBoundary>
);
}
|