fix(lint&types): resolve all lint warnings, typecheck errors and effect state updates across frontend application and admin panel

This commit is contained in:
parsa aghaei committed 2026-08-03 10:13:11 +03:30
1 parent 920dd532e8
commit c1b2f416ed
29 files changed
+442 -352

No files matched your search

@@ -117,7 +117,7 @@ export default function PetProfile({ initialView, advisorNeed }: {
const recommendedProducts = useMemo(() => {
if (!activePet || products.length === 0) return [];
let picks: { product: Product, reason?: string }[] = [];
const picks: { product: Product, reason?: string }[] = [];
// Priority 1: Match activePet.medicalConditions directly against product.symptoms
if (activePet.medicalConditions && activePet.medicalConditions.length > 0) {