fix/standardized-phone-validation-and-billing #86

Merged
amit merged 7 commits from fix/standardized-phone-validation-and-billing into main 2026-11-12 04:38:27 +00:00
1 changed files with 8 additions and 6 deletions
Showing only changes of commit b865f57e4d - Show all commits

View File

@ -332,12 +332,14 @@ export const CartDrawer: React.FC<CartDrawerProps> = ({
<span className="text-[10px] uppercase font-black tracking-wider text-slate-400">
Billing Profile
</span>
<button
onClick={onUpdateBillingPhone}
className="text-[9px] text-indigo-600 hover:text-indigo-500 font-black uppercase tracking-wider underline focus:outline-none"
>
{loggedInUser.phone_number ? 'Edit Number' : 'Add Number'}
</button>
{!loggedInUser.phone_number && (
<button
onClick={onUpdateBillingPhone}
className="text-[9px] text-indigo-600 hover:text-indigo-500 font-black uppercase tracking-wider underline focus:outline-none"
>
Add Number
</button>
)}
</div>
<div className="space-y-1">
<div className="flex justify-between text-xs font-semibold text-slate-600">