mirror of
https://github.com/pezkuwichain/pezkuwi-telegram-miniapp.git
synced 2026-12-02 07:17:11 +00:00
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:
1 parent
b67809481e
commit
910610491f
24 files changed
+237
-88
No files matched your search
@@ -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}
|
||||
|
||||
Reference in new issue
Block a user