-
- A 6-digit code has been sent to your WhatsApp number. Please check your WhatsApp and enter the code below.
-
-
-
-
- setOtpCode(e.target.value)}
- maxLength={6}
- className="text-center text-2xl tracking-widest"
- />
-
-
-
-
-)}
-```
-
-4. **Update resend handler** to support WhatsApp:
-```typescript
-const handleResendWhatsApp = async () => {
- setResendLoading(true)
- setError('')
-
- try {
- await axios.post(`${API_URL}/api/otp/whatsapp/resend`, {
- tempToken
- })
-
- setResendTimer(30)
- setCanResend(false)
- setError('')
- } catch (err) {
- setError('Failed to resend code. Please try again.')
- } finally {
- setResendLoading(false)
- }
-}
-```
-
----
-
-### **3. Auth Pages - Design Restoration**
-
-#### **Current Status**:
-- Login/Register pages exist
-- Need to restore original design from Git
-
-#### **Steps**:
-1. Check Git history for original design
-2. Compare current vs original
-3. Restore styling and layout
-4. Test responsiveness
-
-#### **Command to check history**:
-```bash
-git log --all --full-history -- "apps/web/src/components/pages/Login.tsx"
-git show