/** Git tab for the workspace detail page. */ import { useWorkspaceGit } from "../../../hooks/use-workspace-git"; interface WorkspaceGitPanelProps { workspaceId: string; } export function WorkspaceGitPanel({ workspaceId }: WorkspaceGitPanelProps) { const { history, branches, currentBranch, checkout, loading, error } = useWorkspaceGit(workspaceId); return (
Loading history...
} {error &&{error}
}