fix: undeclared variable reference on docs (#5235)

This commit is contained in:
KinfeMichael Tariku
2025-10-11 17:24:57 +03:00
committed by GitHub
parent 181acde135
commit 6d6df228bc
2 changed files with 2 additions and 18 deletions

View File

@@ -10,7 +10,7 @@ import {
useRef,
useState,
} from "react";
import { Loader2, RefreshCw, SearchIcon, Send, X } from "lucide-react";
import { Loader2, SearchIcon, Send, X } from "lucide-react";
import { cn } from "@/lib/utils";
import { buttonVariants } from "fumadocs-ui/components/ui/button";
import Link from "fumadocs-core/link";
@@ -39,22 +39,6 @@ function SearchAIActions() {
return (
<>
{!isLoading && messages.at(-1)?.role === "assistant" && (
<button
type="button"
className={cn(
buttonVariants({
color: "secondary",
size: "sm",
className: "rounded-full gap-1.5",
}),
)}
onClick={() => regenerate()}
>
<RefreshCw className="size-4" />
Retry
</button>
)}
<button
type="button"
className={cn(