Operations dashboard screens are added

This commit is contained in:
2026-07-20 18:06:04 +05:30
parent a0426e8c8a
commit 0c9151b3a0
33 changed files with 826 additions and 47 deletions

View File

@@ -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">