Skip to content

Commit

Permalink
cleaner func calling
Browse files Browse the repository at this point in the history
  • Loading branch information
mollfpr committed Apr 19, 2022
1 parent 68f9008 commit 1460ef1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/pages/home/report/ReportActionItemSingle.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ const ReportActionItemSingle = (props) => {
<View style={props.wrapperStyles}>
<Pressable
style={styles.alignSelfStart}
onPressIn={() => ControlSelection.block()}
onPressOut={() => ControlSelection.unblock()}
onPressIn={ControlSelection.block}
onPressOut={ControlSelection.unblock}
onPress={() => showUserDetails(props.action.actorEmail)}
>
<Tooltip text={props.action.actorEmail}>
Expand All @@ -82,8 +82,8 @@ const ReportActionItemSingle = (props) => {
<View style={[styles.chatItemMessageHeader]}>
<Pressable
style={[styles.flexShrink1]}
onPressIn={() => ControlSelection.block()}
onPressOut={() => ControlSelection.unblock()}
onPressIn={ControlSelection.block}
onPressOut={ControlSelection.unblock}
onPress={() => showUserDetails(props.action.actorEmail)}
>
{_.map(personArray, (fragment, index) => (
Expand Down

0 comments on commit 1460ef1

Please sign in to comment.