import { Button } from '@/client/components/ui/button'
import { HarnessLoginPanel } from '@/client/features/harness/harness-login-panel'
import { harnessLabel } from '@/client/features/harness/harness-presentation'
import type { LoginHarness } from '@/client/features/harness/api'
type WorkspaceLoginStateProps = {
type: LoginHarness
reason: string
checking: boolean
onRecheck: () => void
onConnected?: () => void
}
export function WorkspaceLoginState({
type,
reason,
checking,
onRecheck,
onConnected = onRecheck
}: WorkspaceLoginStateProps) {
return (
{message}