Skip to content

Commit

Permalink
refactor(discover): remove unused property
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco Antonio Ghiani committed Sep 26, 2024
1 parent 5bbe0a7 commit 9199821
Showing 1 changed file with 1 addition and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,10 @@ const LogMessage = ({
field,
value,
className,
isCompressed,
}: {
field: string;
value: string;
className: string;
isCompressed: boolean;
}) => {
const shouldRenderFieldName = field !== constants.MESSAGE_FIELD;

Expand Down Expand Up @@ -74,12 +72,7 @@ export const Content = ({
const shouldRenderContent = !!field && !!value;

return shouldRenderContent ? (
<LogMessage
field={field}
value={value}
isCompressed={isCompressed}
className={isSingleLine ? 'eui-textTruncate' : ''}
/>
<LogMessage field={field} value={value} className={isSingleLine ? 'eui-textTruncate' : ''} />
) : (
<FormattedSourceDocument
columnId={columnId}
Expand Down

0 comments on commit 9199821

Please sign in to comment.