diff --git a/frontend/src/component/application/ConnectedInstances/ConnectedInstances.tsx b/frontend/src/component/application/ConnectedInstances/ConnectedInstances.tsx index 30497a8af1..48cac778b2 100644 --- a/frontend/src/component/application/ConnectedInstances/ConnectedInstances.tsx +++ b/frontend/src/component/application/ConnectedInstances/ConnectedInstances.tsx @@ -1,5 +1,4 @@ import { FC, useEffect, useMemo } from 'react'; -import { formatDateYMDHMS } from 'utils/formatDate'; import { useRequiredPathParam } from 'hooks/useRequiredPathParam'; import { useConnectedInstancesTable } from './useConnectedInstancesTable'; import { ConnectedInstancesTable } from './ConnectedInstancesTable'; @@ -55,7 +54,7 @@ export const ConnectedInstances: FC = () => { instanceId, ip: clientIp || '', sdkVersion: sdkVersion || '', - lastSeen: lastSeen ? formatDateYMDHMS(lastSeen) : '', + lastSeen: lastSeen || '', }); if (!currentEnvironment) { return []; diff --git a/frontend/src/component/application/ConnectedInstances/useConnectedInstancesTable.tsx b/frontend/src/component/application/ConnectedInstances/useConnectedInstancesTable.tsx index e149640ef3..457374f0c3 100644 --- a/frontend/src/component/application/ConnectedInstances/useConnectedInstancesTable.tsx +++ b/frontend/src/component/application/ConnectedInstances/useConnectedInstancesTable.tsx @@ -2,7 +2,7 @@ import { useMemo } from 'react'; import { HighlightCell } from 'component/common/Table/cells/HighlightCell/HighlightCell'; import { useTable, useGlobalFilter, useSortBy } from 'react-table'; import { sortTypes } from 'utils/sortTypes'; -import { TimeAgoCell } from '../../common/Table/cells/TimeAgoCell/TimeAgoCell'; +import { TimeAgoCell } from 'component/common/Table/cells/TimeAgoCell/TimeAgoCell'; type ConnectedInstancesTableData = { instanceId: string;