From 1460ef17242c5c462726727edbb431c8f6628e79 Mon Sep 17 00:00:00 2001 From: Mohammad Luthfi Fathur Rahman Date: Tue, 19 Apr 2022 09:44:01 +0700 Subject: [PATCH] cleaner func calling --- src/pages/home/report/ReportActionItemSingle.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/pages/home/report/ReportActionItemSingle.js b/src/pages/home/report/ReportActionItemSingle.js index 66a1524ba94f..bc3c0ddcab38 100644 --- a/src/pages/home/report/ReportActionItemSingle.js +++ b/src/pages/home/report/ReportActionItemSingle.js @@ -66,8 +66,8 @@ const ReportActionItemSingle = (props) => { ControlSelection.block()} - onPressOut={() => ControlSelection.unblock()} + onPressIn={ControlSelection.block} + onPressOut={ControlSelection.unblock} onPress={() => showUserDetails(props.action.actorEmail)} > @@ -82,8 +82,8 @@ const ReportActionItemSingle = (props) => { ControlSelection.block()} - onPressOut={() => ControlSelection.unblock()} + onPressIn={ControlSelection.block} + onPressOut={ControlSelection.unblock} onPress={() => showUserDetails(props.action.actorEmail)} > {_.map(personArray, (fragment, index) => (