mirror of
https://github.com/BradNut/umami
synced 2025-09-08 17:40:29 +00:00
14 lines
296 B
TypeScript
14 lines
296 B
TypeScript
|
|
import { useContext } from 'react';
|
||
|
|
import { ReportContext } from '../[reportId]/Report';
|
||
|
|
|
||
|
|
export default function JourneyView() {
|
||
|
|
const { report } = useContext(ReportContext);
|
||
|
|
const { data } = report || {};
|
||
|
|
|
||
|
|
if (!data) {
|
||
|
|
return null;
|
||
|
|
}
|
||
|
|
|
||
|
|
return <div>{JSON.stringify(data)}</div>;
|
||
|
|
}
|