Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
pasyukevich committed Nov 2, 2023
1 parent 6ac09c5 commit 4ed1744
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/components/AvatarIconType.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import CONST from '@src/CONST';


type AvatarFunction = () => void;

type AvatarIcon = {
Expand Down
2 changes: 2 additions & 0 deletions src/components/MentionSuggestions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ function MentionSuggestions({prefix, mentions, highlightedMentionIndex = 0, onSe
>
{styledDisplayName.map(({text, isColored}, i) => (
<Text
// eslint-disable-next-line react/no-array-index-key
key={`${text}${i}`}
style={[StyleUtils.getColoredBackgroundStyle(isColored), styles.mentionSuggestionsDisplayName]}
>
Expand All @@ -94,6 +95,7 @@ function MentionSuggestions({prefix, mentions, highlightedMentionIndex = 0, onSe
({text, isColored}, i) =>
Boolean(text) && (
<Text
// eslint-disable-next-line react/no-array-index-key
key={`${text}${i}`}
style={[StyleUtils.getColoredBackgroundStyle(isColored), styles.mentionSuggestionsHandle]}
>
Expand Down

0 comments on commit 4ed1744

Please sign in to comment.