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); .eq("id", lastHistori()?.id);
}; };
const noSaveHistori = async () => { // const noSaveHistori = async () => {
await supabase // await supabase
.from("histori_fermentasi") // .from("histori_fermentasi")
.delete() // .delete()
.eq("id", lastHistori()?.id); // .eq("id", lastHistori()?.id);
}; // };
const checkStatusDevice = async () => { const checkStatusDevice = async () => {
if (pengaturan()?.running) { if (pengaturan()?.running) {

View File

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