Added session data display.

This commit is contained in:
Mike Cao 2024-07-30 21:22:19 -07:00
parent f32bf0a2e0
commit b3e6e52473
23 changed files with 239 additions and 34 deletions

View file

@ -23,7 +23,6 @@ export function SessionActivity({
return (
<div className={styles.timeline}>
<h1>Activity log</h1>
{data.map(({ eventId, createdAt, urlPath, eventName, visitId }) => {
const showHeader = !lastDay || !isSameDay(new Date(lastDay), new Date(createdAt));
lastDay = createdAt;