Skip to content

Commit

Permalink
Remove unnecessary arrow function
Browse files Browse the repository at this point in the history
  • Loading branch information
roryabraham committed Jun 12, 2021
1 parent 8fa840f commit bb4d136
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/settings/InitialPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ const InitialSettingsPage = ({
key={item.translationKey}
title={translate(item.translationKey)}
icon={item.icon}
onPress={() => item.action()}
onPress={item.action}
shouldShowRightIcon
/>
))}
Expand Down

0 comments on commit bb4d136

Please sign in to comment.