removing console.log
All checks were successful
Build frontend / build (push) Successful in 54s

This commit is contained in:
Beilin-b
2026-06-17 06:46:57 -07:00
parent d0b626ac8c
commit 61e527fab3
9 changed files with 142 additions and 62 deletions

View File

@ -616,10 +616,9 @@
// app/register/tenant/page.js
'use client';
import { useState, useMemo } from 'react';
import { useState, useEffect, useMemo } from 'react';
import { motion, AnimatePresence } from 'framer-motion';
import { useRouter } from 'next/navigation';
import Link from 'next/link';
@ -697,7 +696,6 @@ export default function TenantRegisterPage() {
}
setIsLoading(true);
console.log('[CustomerRegister] Submitting customer registration...');
const payload = {
firstName: formData.firstName,
@ -714,7 +712,6 @@ export default function TenantRegisterPage() {
try {
// لا توجد صور للمستأجر
const res = await addCustomer(payload, null, null);
console.log('[CustomerRegister] addCustomer response:', res);
if (res.status === 200 || res.ok) {
const tempToken = res.data;