title: auto

des: auto
note:auto
This commit is contained in:
2023-10-03 09:37:28 +08:00
parent bde21823de
commit 4f166804c4
8 changed files with 15 additions and 15 deletions

View File

@@ -1,6 +1,6 @@
"use client";
import { MyConsole } from "@/app/fun/my_console";
import { myConsole } from "@/app/fun/my_console";
import { randomOTP } from "@/app/fun/rondom_otp";
import { ApiHipmi } from "@/app/lib/api";
import { Warna } from "@/app/lib/warna";
@@ -37,7 +37,7 @@ export default function Login() {
})
.then((res) => res.json())
.then((val) => {
MyConsole(val);
myConsole(val);
if (val.status == 200) {
toast(val.message);
setCode(val.body.otp);