Skip to content

Commit

Permalink
hanleEmailPress typo fixed (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
radovix authored Jan 20, 2022
1 parent 242a30a commit 34f2bfd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/TextMessage/TextMessage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export const TextMessage = ({
user,
})

const hanleEmailPress = (email: string) => {
const handleEmailPress = (email: string) => {
try {
Linking.openURL(`mailto:${email}`)
} catch {}
Expand Down Expand Up @@ -98,7 +98,7 @@ export const TextMessage = ({
accessibilityRole='link'
parse={[
{
onPress: hanleEmailPress,
onPress: handleEmailPress,
style: [text, { textDecorationLine: 'underline' }],
type: 'email',
},
Expand Down

0 comments on commit 34f2bfd

Please sign in to comment.