MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / SetupStatusErrorCard

Function SetupStatusErrorCard

apps/host-selfhost/web/routes/__root.tsx:90–107  ·  view source on GitHub ↗
({ onRetry }: { onRetry: () => void })

Source from the content-addressed store, hash-verified

88);
89
90const SetupStatusErrorCard = ({ onRetry }: { onRetry: () => void }) => (
91 <div className="flex min-h-screen items-center justify-center bg-background p-6">
92 <Card className="w-full max-w-md">
93 <CardHeader>
94 <CardTitle>Can't reach the server</CardTitle>
95 <CardDescription>
96 Executor couldn't check this instance's setup state. Make sure the server is running, then
97 retry.
98 </CardDescription>
99 </CardHeader>
100 <CardContent>
101 <Button type="button" onClick={onRetry}>
102 Retry
103 </Button>
104 </CardContent>
105 </Card>
106 </div>
107);
108
109function AuthGate({ children }: { children: ReactNode }) {
110 const auth = useAuth();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected