Fixed 'use client' usage.

This commit is contained in:
Mike Cao 2024-02-05 23:59:33 -08:00
parent be5592446a
commit f7151a880e
208 changed files with 323 additions and 385 deletions

View file

@ -1,7 +1,6 @@
'use client';
import styles from './ReportBody.module.css';
import { useContext } from 'react';
import { ReportContext } from './Report';
import { ReportContext } from './ReportPage';
export function ReportBody({ children }) {
const { report } = useContext(ReportContext);