fix(ui): fix clickmap crashes
This commit is contained in:
parent
227525d053
commit
0199b9ba87
3 changed files with 7 additions and 2 deletions
|
|
@ -49,7 +49,8 @@ function ClickMapCard({
|
|||
const jumpToEvent = metricStore.instance.data.events.find((evt: Record<string, any>) => {
|
||||
if (searchUrl) return evt.path.includes(searchUrl)
|
||||
return evt
|
||||
})
|
||||
}) || { timestamp: metricStore.instance.data.startTs }
|
||||
|
||||
const jumpTimestamp = (jumpToEvent.timestamp - metricStore.instance.data.startTs) + jumpToEvent.domBuildingTime
|
||||
|
||||
return (
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
import React from 'react';
|
||||
import { observer } from 'mobx-react-lite';
|
||||
import cn from 'classnames';
|
||||
import styles from 'Components/Session_/session.module.css';
|
||||
import styles from './styles.module.css';
|
||||
import Renderer from './Renderer';
|
||||
|
||||
function PlayerContent() {
|
||||
|
|
|
|||
|
|
@ -0,0 +1,4 @@
|
|||
.session {
|
||||
display: flex;
|
||||
height: 800px;
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue