Skip to content

Commit

Permalink
fix: AttachmentAuthorName missing color token
Browse files Browse the repository at this point in the history
  • Loading branch information
juliajforesti committed Apr 30, 2024
1 parent 6205ef1 commit 16792e0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ import { Box } from '@rocket.chat/fuselage';
import type { ComponentProps, FC } from 'react';
import React from 'react';

const AttachmentAuthorName: FC<ComponentProps<typeof Box>> = (props) => <Box withTruncatedText fontScale='p2m' mi={8} {...props} />;
const AttachmentAuthorName: FC<ComponentProps<typeof Box>> = (props) => <Box withTruncatedText fontScale='p2m' mi={8} color='default' {...props} />;

Check failure on line 5 in apps/meteor/client/components/message/content/attachments/structure/AttachmentAuthorName.tsx

View workflow job for this annotation

GitHub Actions / 🔎 Code Check / Code Lint

Replace `<Box·withTruncatedText·fontScale='p2m'·mi={8}·color='default'·{...props}·/>` with `(⏎↹<Box·withTruncatedText·fontScale='p2m'·mi={8}·color='default'·{...props}·/>⏎)`

export default AttachmentAuthorName;

0 comments on commit 16792e0

Please sign in to comment.