refactor: set country based on user data
This commit is contained in:
@@ -146,7 +146,6 @@ const PaymentComponent = ({ amount, onSuccess }) => {
|
||||
</div>
|
||||
)}
|
||||
|
||||
{/* Show shipping info status */}
|
||||
{shippingInfoCollected && (
|
||||
<div className="bg-green-100 border border-green-400 text-green-700 px-4 py-3 rounded mb-4">
|
||||
Shipping information collected ✓
|
||||
@@ -159,7 +158,6 @@ const PaymentComponent = ({ amount, onSuccess }) => {
|
||||
</div>
|
||||
)}
|
||||
|
||||
{/* Collect shipping info button */}
|
||||
{!shippingInfoCollected && (
|
||||
<button
|
||||
onClick={() => setShowPopup(true)}
|
||||
|
||||
Reference in New Issue
Block a user