fix: use correct hugeicons exports (CheckListIcon, QuestionIcon)
This commit is contained in:
parent
c8a8e49dc7
commit
786501d226
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
import { useState, useCallback } from "react";
|
||||
import { HugeiconsIcon } from "@hugeicons/react";
|
||||
import { QuestionExchangeIcon } from "@hugeicons/core-free-icons";
|
||||
import { QuestionIcon } from "@hugeicons/core-free-icons";
|
||||
import { Button } from "@/components/ui/button";
|
||||
import { usePlanStore } from "@/stores/plan-store";
|
||||
|
||||
|
|
@ -42,7 +42,7 @@ export function AskUserPrompt() {
|
|||
<div className="flex flex-col gap-2 rounded-md border border-blue-500/30 bg-blue-500/5 px-3 py-2.5">
|
||||
<div className="flex items-center gap-2">
|
||||
<HugeiconsIcon
|
||||
icon={QuestionExchangeIcon}
|
||||
icon={QuestionIcon}
|
||||
className="size-4 shrink-0 text-blue-400"
|
||||
strokeWidth={1.5}
|
||||
/>
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ import {
|
|||
Sent02Icon,
|
||||
FlashIcon,
|
||||
Shield01Icon,
|
||||
PlanChartIcon,
|
||||
CheckListIcon,
|
||||
Edit02Icon,
|
||||
} from "@hugeicons/core-free-icons";
|
||||
import { Button } from "@/components/ui/button";
|
||||
|
|
@ -101,7 +101,7 @@ export function ChatInput({ onSend, disabled }: ChatInputProps) {
|
|||
}
|
||||
>
|
||||
<HugeiconsIcon
|
||||
icon={isPlanMode ? PlanChartIcon : Edit02Icon}
|
||||
icon={isPlanMode ? CheckListIcon : Edit02Icon}
|
||||
className={cn("size-4", isPlanMode && "text-blue-400")}
|
||||
strokeWidth={1.5}
|
||||
/>
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
import { useCallback } from "react";
|
||||
import { HugeiconsIcon } from "@hugeicons/react";
|
||||
import { PlanChartIcon, Edit02Icon } from "@hugeicons/core-free-icons";
|
||||
import { CheckListIcon, Edit02Icon } from "@hugeicons/core-free-icons";
|
||||
import { Button } from "@/components/ui/button";
|
||||
import { useAgentStore } from "@/stores/agent-store";
|
||||
import { usePlanStore } from "@/stores/plan-store";
|
||||
|
|
@ -91,7 +91,7 @@ export function ModeTransitionModal() {
|
|||
className="w-full"
|
||||
>
|
||||
<HugeiconsIcon
|
||||
icon={PlanChartIcon}
|
||||
icon={CheckListIcon}
|
||||
className="mr-2 size-4"
|
||||
strokeWidth={1.5}
|
||||
/>
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ import {
|
|||
CancelCircleIcon,
|
||||
Loading03Icon,
|
||||
MinusSignIcon,
|
||||
PlanChartIcon,
|
||||
CheckListIcon,
|
||||
} from "@hugeicons/core-free-icons";
|
||||
import { ScrollArea } from "@/components/ui/scroll-area";
|
||||
import { usePlanStore } from "@/stores/plan-store";
|
||||
|
|
@ -77,7 +77,7 @@ export function PlanPanel() {
|
|||
return (
|
||||
<div className="flex h-full flex-col items-center justify-center gap-2 p-4">
|
||||
<HugeiconsIcon
|
||||
icon={PlanChartIcon}
|
||||
icon={CheckListIcon}
|
||||
className="text-muted-foreground/50 size-8"
|
||||
strokeWidth={1}
|
||||
/>
|
||||
|
|
|
|||
Loading…
Reference in New Issue