"use client"; import { IconCheck, IconX, IconRefresh } from "@tabler/icons-react"; import { Badge } from "@kandev/ui/badge"; import { Button } from "@kandev/ui/button"; import { Spinner } from "@kandev/ui/spinner"; import { useGitHubStatus } from "@/hooks/domains/github/use-github-status"; import type { AuthDiagnostics } from "@/lib/types/github"; function DiagnosticsOutput({ diagnostics }: { diagnostics: AuthDiagnostics }) { return (
{diagnostics.command}
A non-zero exit code means the command failed. Review the output below for details.
)}
{diagnostics.output.trim()}
Connect using one of these methods:
GITHUB_TOKEN or{" "}
GH_TOKEN when starting Kandev
GITHUB_TOKEN in{" "}
Settings > Secrets
, then click Refresh above
gh and run{" "}
gh auth login