From 89c31cd1accb2b1644f793896bf16e1adffe5591 Mon Sep 17 00:00:00 2001 From: keannu125 Date: Sun, 12 Mar 2023 12:39:18 +0800 Subject: [PATCH] Added functionality to daily view page --- src/Routes/DailyView/DailyView.tsx | 66 +++++++++++++++++++++++++++++- 1 file changed, 64 insertions(+), 2 deletions(-) diff --git a/src/Routes/DailyView/DailyView.tsx b/src/Routes/DailyView/DailyView.tsx index ab35d0c..dd2aef1 100644 --- a/src/Routes/DailyView/DailyView.tsx +++ b/src/Routes/DailyView/DailyView.tsx @@ -15,7 +15,14 @@ import moment from "moment"; import GetToday from "../../Components/GetToday/GetToday"; import Moment from "react-moment"; import { useNavigate } from "react-router-dom"; -import { Button } from "@mui/material"; +import { + Button, + TableBody, + TableCell, + TableContainer, + TableHead, + TableRow, +} from "@mui/material"; export default function DailyView() { const logs = useQuery("logs", GetLogs, { retry: 0 }); @@ -84,7 +91,10 @@ export default function DailyView() { ) .map((Product: Product) => ( ))}