Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
wilsonfurtado2000 committed Jan 11, 2025
1 parent 1a9ef10 commit 5f8374b
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions react/features/notifications/components/web/Notification.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -327,16 +327,14 @@ const Notification = ({

return (
<span className = { classes.inlineText }>
{notificationTitle.split(' ').map((titleWord, index, titleArray) => {
return (
<React.Fragment key = { index }>
<span className = { classes.title }>
{t(titleWord)}
</span>
{ index < titleArray.length - 1 && ' ' }
</React.Fragment>
);
})}
{notificationTitle.split(' ').map((titleWord, index, titleArray) => (
<React.Fragment key = { index }>
<span className = { classes.title }>
{t(titleWord)}
</span>
{ index < titleArray.length - 1 && ' ' }
</React.Fragment>
))}
</span>
);
}, [ title, titleKey, titleArguments ]);
Expand Down

0 comments on commit 5f8374b

Please sign in to comment.