Commit 6f85b46c by Arjun Jhukal

commented the console

parent a103d162
...@@ -30,7 +30,7 @@ export default function PaymentSetup() { ...@@ -30,7 +30,7 @@ export default function PaymentSetup() {
.matches(/^\d+$/, 'Merchant ID must be numeric'), .matches(/^\d+$/, 'Merchant ID must be numeric'),
}), }),
onSubmit: (values) => { onSubmit: (values) => {
console.log('Submitting IDEM Payment Setup:', values); // console.log('Submitting IDEM Payment Setup:', values);
try { try {
......
...@@ -11,7 +11,7 @@ export default async function GeneralPage(props: { params: Promise<{ slug: strin ...@@ -11,7 +11,7 @@ export default async function GeneralPage(props: { params: Promise<{ slug: strin
try { try {
pageData = await getPageDetail(slug); pageData = await getPageDetail(slug);
} catch (err) { } catch (err) {
console.log("❌ Failed to fetch games:", err); // console.log("❌ Failed to fetch games:", err);
return notFound(); return notFound();
} }
......
...@@ -60,7 +60,7 @@ export default async function Home() { ...@@ -60,7 +60,7 @@ export default async function Home() {
subBannersError = "Failed to load sub banners."; subBannersError = "Failed to load sub banners.";
} }
console.log(banners); // console.log(banners);
return ( return (
<DashboardProvider> <DashboardProvider>
<> <>
......
...@@ -38,7 +38,7 @@ export const SeonProvider: React.FC<{ children: React.ReactNode }> = ({ children ...@@ -38,7 +38,7 @@ export const SeonProvider: React.FC<{ children: React.ReactNode }> = ({ children
}); });
const session = await seon.getSession(); const session = await seon.getSession();
console.log("Device fingerprint session:", session); // console.log("Device fingerprint session:", session);
setDeviceId(session); setDeviceId(session);
} catch (err) { } catch (err) {
console.error("SEON init error:", err); console.error("SEON init error:", err);
......
...@@ -19,7 +19,7 @@ export default function UspSlider({ uspData }: { uspData: UspItem[] }) { ...@@ -19,7 +19,7 @@ export default function UspSlider({ uspData }: { uspData: UspItem[] }) {
const containerRef = useRef<HTMLDivElement>(null); const containerRef = useRef<HTMLDivElement>(null);
const x = useMotionValue(0); const x = useMotionValue(0);
console.log(uspData); // console.log(uspData);
// Duplicate the data for seamless loop // Duplicate the data for seamless loop
useEffect(() => { useEffect(() => {
setItems([...uspData, ...uspData, ...uspData]); setItems([...uspData, ...uspData, ...uspData]);
......
...@@ -24,7 +24,7 @@ export default function CheckoutPage({ amount, slug, bonus }: { ...@@ -24,7 +24,7 @@ export default function CheckoutPage({ amount, slug, bonus }: {
const [getPaymentLink, { isLoading: gettingLink }] = useDepositMutation(); const [getPaymentLink, { isLoading: gettingLink }] = useDepositMutation();
const [currentPaymentMode, setCurrentPaymentMode] = React.useState("crypto"); const [currentPaymentMode, setCurrentPaymentMode] = React.useState("crypto");
console.log(pathname) // console.log(pathname)
return ( return (
<section className="checkout__root"> <section className="checkout__root">
<div className="grid grid-cols-12 gap-4 lg:gap-10 xl:gap-12"> <div className="grid grid-cols-12 gap-4 lg:gap-10 xl:gap-12">
......
...@@ -12,7 +12,7 @@ export default async function ExclusiveGamePage() { ...@@ -12,7 +12,7 @@ export default async function ExclusiveGamePage() {
try { try {
games = await getAllGames(); games = await getAllGames();
} catch (err) { } catch (err) {
console.log("❌ Failed to fetch games:", err); // console.log("❌ Failed to fetch games:", err);
return <p className="text-red-500">Failed to load games.</p>; return <p className="text-red-500">Failed to load games.</p>;
} }
......
...@@ -75,7 +75,7 @@ export default function VerifyKYCPage() { ...@@ -75,7 +75,7 @@ export default function VerifyKYCPage() {
}, },
validationSchema, validationSchema,
onSubmit: (values) => { onSubmit: (values) => {
console.log('Form submitted:', values); // console.log('Form submitted:', values);
}, },
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment