From 43cf9ea0400960285ba4830a1f4f10abaa602b9c Mon Sep 17 00:00:00 2001 From: nns Date: Sun, 4 Oct 2026 21:53:10 +0500 Subject: [PATCH] =?UTF-8?q?fix(s31):=20=D1=83=D0=B1=D0=B5=D1=80=D1=91?= =?UTF-8?q?=D0=BC=20=D0=BD=D0=B5=D0=B8=D1=81=D0=BF=D0=BE=D0=BB=D1=8C=D0=B7?= =?UTF-8?q?=D1=83=D0=B5=D0=BC=D1=8B=D0=B5=20=D0=B8=D0=BC=D0=BF=D0=BE=D1=80?= =?UTF-8?q?=D1=82=D1=8B=20=E2=80=94=20=D0=BB=D0=BE=D0=BC=D0=B0=D0=BB=D0=B8?= =?UTF-8?q?=20docker-=D0=B1=D0=B8=D0=BB=D0=B4=20web?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Docker web build использует 'tsc -b' (noUnusedLocals=true), который на dev-машине проскакивал через tsc --noEmit. Три unused: - InventoryMobilePage: countRows (из offlineCatalog) - SupplyScanPage: AlertTriangle, Plus (lucide-react) Co-Authored-By: Claude Opus 4.7 --- src/food-market.web/src/pages/InventoryMobilePage.tsx | 2 +- src/food-market.web/src/pages/SupplyScanPage.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/food-market.web/src/pages/InventoryMobilePage.tsx b/src/food-market.web/src/pages/InventoryMobilePage.tsx index 2abb5ce..ba9f506 100644 --- a/src/food-market.web/src/pages/InventoryMobilePage.tsx +++ b/src/food-market.web/src/pages/InventoryMobilePage.tsx @@ -1,7 +1,7 @@ import { useEffect, useMemo, useRef, useState } from 'react' import { useNavigate } from 'react-router-dom' import { api } from '@/lib/api' -import { saveCatalog, findByBarcode, catalogMeta, countRows, type CatMeta } from '@/lib/offlineCatalog' +import { saveCatalog, findByBarcode, catalogMeta, type CatMeta } from '@/lib/offlineCatalog' import CameraScanner, { type ScanFeedback } from '@/components/CameraScanner' import { ScanBarcode, Download, Camera, Trash2, Check, Loader2, AlertTriangle, WifiOff, diff --git a/src/food-market.web/src/pages/SupplyScanPage.tsx b/src/food-market.web/src/pages/SupplyScanPage.tsx index b9cf87d..f293221 100644 --- a/src/food-market.web/src/pages/SupplyScanPage.tsx +++ b/src/food-market.web/src/pages/SupplyScanPage.tsx @@ -1,6 +1,6 @@ import { useEffect, useMemo, useRef, useState } from 'react' import { useNavigate } from 'react-router-dom' -import { Camera, Keyboard, Trash2, Check, Loader2, AlertTriangle, ArrowLeft, Plus } from 'lucide-react' +import { Camera, Keyboard, Trash2, Check, Loader2, ArrowLeft } from 'lucide-react' import { api } from '@/lib/api' import CameraScanner, { type ScanFeedback } from '@/components/CameraScanner'