From 7be6ee1d322dc07ad14c3e1e71f0444237c560c6 Mon Sep 17 00:00:00 2001 From: beatz174-bit Date: Mon, 1 Dec 2025 15:59:33 +1000 Subject: [PATCH] Remove search field from add product dialog --- src/components/AddProductDialog.tsx | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/components/AddProductDialog.tsx b/src/components/AddProductDialog.tsx index 2ad27a4..c1e53e5 100644 --- a/src/components/AddProductDialog.tsx +++ b/src/components/AddProductDialog.tsx @@ -8,13 +8,11 @@ import { DialogContent, DialogTitle, IconButton, - InputAdornment, MenuItem, Stack, TextField, } from '@mui/material'; import CloseIcon from '@mui/icons-material/Close'; -import SearchIcon from '@mui/icons-material/Search'; import { v4 as uuidv4 } from 'uuid'; import { useDatabase } from '../context/DBProvider'; import { BarcodeScannerView } from './BarcodeScannerView'; @@ -277,13 +275,6 @@ export const AddProductDialog = ({ error={!!nameError} helperText={nameError || ' '} fullWidth - InputProps={{ - startAdornment: ( - - - - ), - }} data-testid="select-add-product-category" />