Update spinner

feat/ai-autocomplete
Kamran Ahmed 8 months ago
parent 10700a5e9d
commit 270113f888
  1. 5
      src/components/GenerateRoadmap/AITermSuggestionInput.tsx

@ -11,6 +11,7 @@ import { useDebounceValue } from '../../hooks/use-debounce';
import { httpGet } from '../../lib/http';
import { useToast } from '../../hooks/use-toast';
import { Loader2 } from 'lucide-react';
import {Spinner} from "../ReactIcons/Spinner.tsx";
type GetTopAIRoadmapTermResponse = {
_id: string;
@ -154,8 +155,8 @@ export function AITermSuggestionInput(props: AITermSuggestionInputProps) {
/>
{isLoading && (
<div className="absolute right-2 top-0 flex h-full items-center">
<Loader2 className="h-5 w-5 animate-spin stroke-[2.5]" />
<div className="absolute right-3 top-0 flex h-full items-center">
<Spinner isDualRing={false} className="h-5 w-5 animate-spin stroke-[2.5]" />
</div>
)}

Loading…
Cancel
Save