fix(web): resolve frontend build errors

- Changed ReactNode import to a type-only import in `control-item.tsx` to satisfy `verbatimModuleSyntax`.
- Replaced `lucide-react` icons (`Plus`, `Trash2`) with `@tabler/icons-react` equivalents (`IconPlus`, `IconTrash`) in `routing-section.tsx`.

Co-authored-by: TanLuong <28281768+TanLuong@users.noreply.github.com>
This commit is contained in:
google-labs-jules[bot] 2026-03-25 09:59:10 +00:00
parent 8e1024e47b
commit 68c0975110
2 changed files with 4 additions and 4 deletions

View file

@ -1,4 +1,4 @@
import { ReactNode } from "react" import type { ReactNode } from "react"
import { cn } from "@/lib/utils" import { cn } from "@/lib/utils"

View file

@ -1,4 +1,4 @@
import { Plus, Trash2 } from "lucide-react" import { IconPlus, IconTrash } from "@tabler/icons-react"
import { useTranslation } from "react-i18next" import { useTranslation } from "react-i18next"
import { Button } from "@/components/ui/button" import { Button } from "@/components/ui/button"
@ -78,7 +78,7 @@ export function RoutingSection({
size="sm" size="sm"
onClick={handleAddTier} onClick={handleAddTier}
> >
<Plus className="mr-2 h-4 w-4" /> <IconPlus className="mr-2 h-4 w-4" />
{t("pages.config.routing.add_tier", "Add Tier")} {t("pages.config.routing.add_tier", "Add Tier")}
</Button> </Button>
</div> </div>
@ -137,7 +137,7 @@ export function RoutingSection({
className="text-destructive h-8 w-8" className="text-destructive h-8 w-8"
onClick={() => handleRemoveTier(index)} onClick={() => handleRemoveTier(index)}
> >
<Trash2 className="h-4 w-4" /> <IconTrash className="h-4 w-4" />
</Button> </Button>
</div> </div>
))} ))}