Skip to content

Commit

Permalink
applied suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
adelloste committed Jan 29, 2024
1 parent 0766ed5 commit 0a82268
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ts/features/pn/components/MessageDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@ export const MessageDetails = ({ message, service }: MessageDetailsProps) => {
text={I18n.t("features.pn.details.badge.legalValue")}
variant="legalMessage"
/>
{attachmentList.length > 0 ? (
{attachmentList.length > 0 && (
<>
<HSpacer size={8} />
<Tag variant="attachment" testID="attachment-tag" />
</>
) : null}
)}
</View>
<VSpacer size={8} />
</MessageDetailHeader>
Expand Down

0 comments on commit 0a82268

Please sign in to comment.