Skip to content

Commit

Permalink
apply syntax improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
JKobrynski committed Nov 20, 2023
1 parent 4ed67b8 commit c0a947d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/components/UnreadActionIndicator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ type UnreadActionIndicatorProps = {
reportActionID: string;
};

function UnreadActionIndicator(props: UnreadActionIndicatorProps) {
function UnreadActionIndicator({reportActionID}: UnreadActionIndicatorProps) {
const styles = useThemeStyles();
const {translate} = useLocalize();

return (
<View
accessibilityLabel={translate('accessibilityHints.newMessageLineIndicator')}
data-action-id={props.reportActionID}
data-action-id={reportActionID}
style={[styles.unreadIndicatorContainer, styles.userSelectNone, styles.pointerEventsNone]}
dataSet={{[CONST.SELECTION_SCRAPER_HIDDEN_ELEMENT]: true}}
>
Expand All @@ -27,4 +27,5 @@ function UnreadActionIndicator(props: UnreadActionIndicatorProps) {
}

UnreadActionIndicator.displayName = 'UnreadActionIndicator';

export default UnreadActionIndicator;

0 comments on commit c0a947d

Please sign in to comment.