Merge pull request #8 from TanLuong/fix/frontend-build-errors-6035514183941592380

Fix frontend build errors
This commit is contained in:
Nhat Tan 2026-03-25 17:00:57 +07:00 committed by GitHub
commit bc1d2dc456
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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>
))} ))}