diff --git a/packages/dashboard-frontend/src/components/WorkspaceEvents/index.tsx b/packages/dashboard-frontend/src/components/WorkspaceEvents/index.tsx index 7a8d99a34..b550d94b5 100644 --- a/packages/dashboard-frontend/src/components/WorkspaceEvents/index.tsx +++ b/packages/dashboard-frontend/src/components/WorkspaceEvents/index.tsx @@ -96,7 +96,9 @@ class WorkspaceEvents extends React.PureComponent { const events = this.props.eventsFromResourceVersionFn(startResourceVersion); const eventItems = this.getEventItems(events); - const numberOfEvents = {eventItems.length + (eventItems.length === 1 ? ' event' : ' events')}; + const numberOfEvents = ( + {eventItems.length + (eventItems.length === 1 ? ' event' : ' events')} + ); const tailStackItem = (