refactor: update payment types and user interface, enhance error handling, and adjust API base URL
Some checks failed
Build and Push Docker Images / Build and Push Docker Images (push) Failing after 3m14s

This commit is contained in:
2025-04-05 23:25:17 +05:00
parent aa18484475
commit 9e2a2f430e
15 changed files with 596 additions and 423 deletions

View File

@ -27,15 +27,16 @@ export function AccountPopover() {
<UserIcon />
</Button>
</PopoverTrigger>
<PopoverContent className="w-fit">
<PopoverContent className="w-fit mr-4">
<div className="grid gap-4">
<div className="space-y-2">
<h4 className="font-medium leading-none">
{session.data?.user?.name}
{session.data?.user?.first_name} {session.data?.user?.last_name}
</h4>
<p className="text-sm text-muted-foreground">
{session.data?.user?.id_card}
</p>
<div className="text-sm text-muted-foreground">
<p className="font-semibold">{session.data?.user?.id_card}</p>
<p>{session.data?.user?.mobile}</p>
</div>
</div>
<Button
disabled={loading}