chore: upgrade dependencies
This commit is contained in:
1 parent
c3f234076b
commit
955366b511
20 files changed
+957
-1100
No files matched your search
@@ -90,9 +90,6 @@ export const ActivePickListScreen = () => {
|
||||
);
|
||||
|
||||
const sortedItems = useMemo(() => {
|
||||
const normalizeProductName = (product?: Product | null) =>
|
||||
product?.name ? product.name.trim().toLowerCase() : '';
|
||||
|
||||
return [...itemsVisibleByStatus].sort((a, b) => {
|
||||
const productA = productMap.get(a.product_id);
|
||||
const productB = productMap.get(b.product_id);
|
||||
@@ -221,7 +218,7 @@ export const ActivePickListScreen = () => {
|
||||
}, [appliedItemFilter]);
|
||||
|
||||
const visibleItems = useMemo(() => {
|
||||
let filteredItems = showPicked
|
||||
const filteredItems = showPicked
|
||||
? sortedItems
|
||||
: sortedItems.filter((item) => item.status !== 'picked');
|
||||
|
||||
|
||||
Reference in new issue
Block a user