feat : merge for production movement

This commit is contained in:
2025-10-17 13:05:47 +05:30
parent 6acb7ade49
commit b93e6db650
8 changed files with 427 additions and 473 deletions

View File

@@ -4,8 +4,6 @@ import React, { useEffect, useRef, useState } from "react";
import { Button, Group, Modal, Paper, PasswordInput, Radio, ScrollArea, Select, Stack, Text, TextInput, Title } from "@mantine/core";
import { notifications } from "@mantine/notifications";
import { useRouter } from "next/navigation";
import { generateOTP } from '@/app/OTPGenerator';
import OutsideQuickPay from "./outside_quick_pay";
import { IconRefresh } from "@tabler/icons-react";
import Image from "next/image";
import img from '@/app/image/logo1.jpg'
@@ -20,7 +18,6 @@ interface accountData {
export default function QuickPay() {
const router = useRouter();
// const [bankType, setBankType] = useState("own");
const [authorized, setAuthorized] = useState<boolean | null>(null);
const [accountData, setAccountData] = useState<accountData[]>([]);
const [selectedAccNo, setSelectedAccNo] = useState<string | null>(null);
@@ -237,14 +234,6 @@ export default function QuickPay() {
});
return;
}
// if (otp !== generateOtp) {
// notifications.show({
// title: "Invalid OTP",
// message: "The OTP entered does not match",
// color: "red",
// });
// return;
// }
const verified = await handleVerifyOtp();
if (!verified) {
notifications.show({
@@ -564,11 +553,6 @@ export default function QuickPay() {
</Text>
</Stack>
</div>
{/* ) : (
<div>
<OutsideQuickPay />
</div>
)} */}
</Paper>
</>
);