fixed graph on pengujian page

This commit is contained in:
Muhammad Izza Alfiansyah 2024-07-09 16:13:53 +07:00
parent c8aaed9a7b
commit 6b53304630
2 changed files with 7 additions and 7 deletions

View File

@ -98,12 +98,12 @@ export default function (props: JSX.HTMLAttributes<HTMLDivElement>) {
.eq("id", lastHistori()?.id);
};
const noSaveHistori = async () => {
await supabase
.from("histori_fermentasi")
.delete()
.eq("id", lastHistori()?.id);
};
// const noSaveHistori = async () => {
// await supabase
// .from("histori_fermentasi")
// .delete()
// .eq("id", lastHistori()?.id);
// };
const checkStatusDevice = async () => {
if (pengaturan()?.running) {

View File

@ -51,7 +51,7 @@ export default function () {
kadarRegresi.push(nilaiRegresi - nilaiRegresiPertiga);
if (jamPengujian) {
if (typeof jamPengujian == "number") {
labels.push(jamPengujian.toString());
i = jamPengujian + 6;
} else {