mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-10 04:19:32 +00:00
fix: undeclared variable reference on docs (#5235)
This commit is contained in:
committed by
GitHub
parent
181acde135
commit
6d6df228bc
@@ -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(
|
||||
|
||||
2
pnpm-lock.yaml
generated
2
pnpm-lock.yaml
generated
@@ -28240,4 +28240,4 @@ snapshots:
|
||||
|
||||
zod@4.1.5: {}
|
||||
|
||||
zwitch@2.0.4: {}
|
||||
zwitch@2.0.4: {}
|
||||
Reference in New Issue
Block a user