Skip to content

Commit

Permalink
fix lint problem with MentionUserRenderer
Browse files Browse the repository at this point in the history
  • Loading branch information
robertKozik committed May 8, 2023
1 parent d362ae2 commit 76ec3a0
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ const showUserDetails = email => Navigation.navigate(ROUTES.getDetailsRoute(emai

const MentionUserRenderer = (props) => {
const defaultRendererProps = _.omit(props, ['TDefaultRenderer', 'style']);

// We need to remove the leading @ from data as it is not part of the login
const loginWhithoutLeadingAt = props.tnode.data.slice(1);

Expand Down

0 comments on commit 76ec3a0

Please sign in to comment.