From 2d684af57d0172743d54dca9cf9dba85faaf9245 Mon Sep 17 00:00:00 2001 From: ammarahm-ed Date: Tue, 16 Feb 2021 17:17:17 +0500 Subject: [PATCH] fix items are not updated when scrolling --- apps/mobile/src/components/SelectionWrapper/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/mobile/src/components/SelectionWrapper/index.js b/apps/mobile/src/components/SelectionWrapper/index.js index 86285c699..c096094c6 100644 --- a/apps/mobile/src/components/SelectionWrapper/index.js +++ b/apps/mobile/src/components/SelectionWrapper/index.js @@ -39,7 +39,7 @@ const SelectionWrapper = ({ } } } - }, [selectedItemsList]); + }, [selectedItemsList,item.id]); const onLong = () => { if (selectionMode) return;