diff --git a/src/apps/dashboard/features/activity/components/LogLevelCell.tsx b/src/apps/dashboard/features/activity/components/LogLevelCell.tsx index b884581c4e..4728e7a2bf 100644 --- a/src/apps/dashboard/features/activity/components/LogLevelCell.tsx +++ b/src/apps/dashboard/features/activity/components/LogLevelCell.tsx @@ -4,10 +4,11 @@ import React, { type FC } from 'react'; import { ActivityLogEntryCell } from '../types/ActivityLogEntryCell'; import LogLevelChip from './LogLevelChip'; -const LogLevelCell: FC = ({ cell }) => ( - cell.getValue() ? ( - ()} /> - ) : undefined -); +const LogLevelCell: FC = ({ cell }) => { + const level = cell.getValue(); + return level ? ( + + ) : undefined; +}; export default LogLevelCell;