Operations dashboard screens are added
This commit is contained in:
@@ -8,6 +8,7 @@ import {Props} from "@/constants/types"
|
||||
export default function VerifyCode({ onBack }: Props) {
|
||||
const [timer, setTimer] = useState(30);
|
||||
|
||||
//Timer Functionality Sets 30s to 0s
|
||||
useEffect(() => {
|
||||
if (timer === 0) return;
|
||||
|
||||
@@ -21,7 +22,7 @@ export default function VerifyCode({ onBack }: Props) {
|
||||
const handleResend = () => {
|
||||
if (timer > 0) return;
|
||||
|
||||
// Call your resend OTP API here
|
||||
// Call your resend OTP
|
||||
|
||||
setTimer(30);
|
||||
};
|
||||
@@ -49,6 +50,8 @@ export default function VerifyCode({ onBack }: Props) {
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
{/* OTP input box */}
|
||||
<OTPInput />
|
||||
|
||||
<div className="flex items-center gap-2">
|
||||
|
||||
Reference in New Issue
Block a user