"use client"; import { Button } from "@/components/ui/button"; import { ReloadIcon } from "@radix-ui/react-icons" import { toast } from "@/components/hooks/use-toast"; import { flagRepoForIndex } from "@/actions"; import { isServiceError } from "@/lib/utils"; import useCaptureEvent from "@/hooks/useCaptureEvent"; interface RetryRepoIndexButtonProps { repoId: number; domain: string; } export const RetryRepoIndexButton = ({ repoId, domain }: RetryRepoIndexButtonProps) => { const captureEvent = useCaptureEvent(); return ( ); };