Added if one product search input clear if greater then 1 search field is not cleared

This commit is contained in:
Srinath 2026-03-11 18:07:36 +05:30
parent 0d6bf20dec
commit 38c9c95539
1 changed files with 3 additions and 1 deletions

View File

@ -4963,8 +4963,10 @@ const BSItemCard = (props) => {
setVarItem(0);
setItem();
setStockItem();
dispatch(changeSearchedData(''));
setOnePeiceFlow(false);
if (cardData?.length <= 1) {
dispatch(changeSearchedData(''));
}
};
const dataTransfer = async (