diff --git a/src/components/InventorySearch/InventorySearch.tsx b/src/components/InventorySearch/InventorySearch.tsx index 669e4d1..6dbabd3 100644 --- a/src/components/InventorySearch/InventorySearch.tsx +++ b/src/components/InventorySearch/InventorySearch.tsx @@ -57,30 +57,7 @@ type SearchQuery = Partial< type SearchParamNames = keyof SearchQuery; const InventorySearch: React.FC = ({ inventories, printerCombo }) => { - const { t, i18n } = useTranslation(['inventory', 'common', 'item']); - - useEffect(() => { - fetch('http://127.0.0.1:7242/ingest/8c332e19-29c4-4171-9317-8619340856a2', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - 'X-Debug-Session-Id': 'aca475', - }, - body: JSON.stringify({ - sessionId: 'aca475', - runId: 'run1', - hypothesisId: 'H1', - location: 'src/components/InventorySearch/InventorySearch.tsx:63', - message: 'Check current stock translation lookup', - data: { - language: i18n.language, - translatedCurrentStock: t('Current Stock'), - translatedHardcodedLabel: t('現有庫存'), - }, - timestamp: Date.now(), - }), - }).catch(() => {}); - }, [i18n.language, t]); + const { t } = useTranslation(['inventory', 'common', 'item']); // Inventory