Skip to content

Commit

Permalink
fix regression (#2047)
Browse files Browse the repository at this point in the history
  • Loading branch information
jakzaizzat authored Oct 24, 2023
1 parent 67b71c6 commit 775fde7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/mobile/src/hooks/useMentionableMessage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ export function useMentionableMessage(queryRef: useMentionableMessageQueryFragme
}

if (wordAtCursor && wordAtCursor?.length > 1) {
setAliasKeyword(wordAtCursor.slice(1)); // Remove the @
setAliasKeyword(wordAtCursor);
}

// Determine how many characters were added or removed
Expand Down

0 comments on commit 775fde7

Please sign in to comment.