diff --git a/frontend/app/components/shared/SessionItem/SessionItem.tsx b/frontend/app/components/shared/SessionItem/SessionItem.tsx index 014939e33..bf01f823d 100644 --- a/frontend/app/components/shared/SessionItem/SessionItem.tsx +++ b/frontend/app/components/shared/SessionItem/SessionItem.tsx @@ -15,7 +15,7 @@ import { liveSession, sessions as sessionsRoute, session as sessionRoute, - isRoute, + isRoute } from 'App/routes'; import { capitalize } from 'App/utils'; import { Duration } from 'luxon'; @@ -85,7 +85,7 @@ function SessionItem(props: RouteComponentProps & Props) { onClick = null, compact = false, ignoreAssist = false, - bookmarked = false, + bookmarked = false } = props; const { @@ -108,7 +108,7 @@ function SessionItem(props: RouteComponentProps & Props) { metadata, issueTypes, active, - timezone: userTimezone, + timezone: userTimezone } = session; const location = props.location; @@ -142,13 +142,13 @@ function SessionItem(props: RouteComponentProps & Props) { }${sessionRoute(sessionId)}`; copy(sessionPath); toast.success('Session URL copied to clipboard'); - }, + } }, { icon: 'trash', text: 'Remove', - onClick: () => (props.toggleFavorite ? props.toggleFavorite(sessionId) : null), - }, + onClick: () => (props.toggleFavorite ? props.toggleFavorite(sessionId) : null) + } ]; }, []); @@ -160,22 +160,23 @@ function SessionItem(props: RouteComponentProps & Props) { >