feat
Deskripsi: - Create validasi - Create register - create global prisma, color tune,dan global state
This commit is contained in:
8
src/app/fun/my_console.ts
Normal file
8
src/app/fun/my_console.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
import { useState } from "react";
|
||||
|
||||
export function MyConsole(value: any) {
|
||||
const onData = true;
|
||||
if (onData) {
|
||||
console.log(value);
|
||||
}
|
||||
}
|
||||
4
src/app/fun/rondom_otp.ts
Normal file
4
src/app/fun/rondom_otp.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
export function randomOTP(){
|
||||
const random = Math.floor(Math.random() * (9000 - 1000 )) + 1000
|
||||
return random;
|
||||
}
|
||||
Reference in New Issue
Block a user