Bootstrap User Journey report.
This commit is contained in:
13
src/app/(main)/reports/journey/JourneyView.tsx
Normal file
13
src/app/(main)/reports/journey/JourneyView.tsx
Normal file
@@ -0,0 +1,13 @@
|
||||
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>;
|
||||
}
|
||||
Reference in New Issue
Block a user