fix: dual bot token auth + P2P UI logic fixes

- All 17 edge functions now check both TELEGRAM_BOT_TOKEN and
  TELEGRAM_BOT_TOKEN_KRD for session verification
- Add perPage:1000 to listUsers calls to prevent pagination issues
- Fix offer button label: Buy tab shows "Al" (green), Sell tab shows "Sat" (red)
- Fix active tab highlight with cyan color for visibility
- Fix modal transparency (add --card CSS variable)
- Fix withdraw tab sync (useEffect on modal open)
This commit is contained in:
Kurdistan Tech Ministry committed 2026-02-27 00:53:52 +03:00
1 parent b67809481e
commit 910610491f
24 files changed
+237 -88

No files matched your search

+1 -1
View File
@@ -195,7 +195,7 @@ export function P2PSection() {
onClick={() => handleTabChange(tab.id)}
className={cn(
'flex-1 py-2 text-xs font-medium rounded-lg transition-colors',
activeTab === tab.id ? 'bg-card text-foreground shadow-sm' : 'text-muted-foreground'
activeTab === tab.id ? 'bg-cyan-500/20 text-cyan-400 shadow-sm' : 'text-muted-foreground'
)}
>
{tab.label}