fix
This commit is contained in:
@@ -703,7 +703,7 @@ export default function UserDetailPage() {
|
|||||||
<div className="flex space-x-3">
|
<div className="flex space-x-3">
|
||||||
<button
|
<button
|
||||||
onClick={() => handleVerification('APPROVED')}
|
onClick={() => handleVerification('APPROVED')}
|
||||||
disabled={isUpdatingVerification || verificationDocuments.length === 0}
|
disabled={isUpdatingVerification}
|
||||||
className="flex-1 px-4 py-2 bg-green-600 hover:bg-green-700 text-white text-sm font-medium rounded-lg transition-colors disabled:opacity-50 disabled:cursor-not-allowed"
|
className="flex-1 px-4 py-2 bg-green-600 hover:bg-green-700 text-white text-sm font-medium rounded-lg transition-colors disabled:opacity-50 disabled:cursor-not-allowed"
|
||||||
>
|
>
|
||||||
{isUpdatingVerification ? (
|
{isUpdatingVerification ? (
|
||||||
@@ -801,11 +801,6 @@ export default function UserDetailPage() {
|
|||||||
* A note is required to reject verification
|
* A note is required to reject verification
|
||||||
</p>
|
</p>
|
||||||
)}
|
)}
|
||||||
{verificationDocuments.length === 0 && (
|
|
||||||
<p className="mt-2 text-xs text-amber-600">
|
|
||||||
* Cannot approve without uploaded documents
|
|
||||||
</p>
|
|
||||||
)}
|
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user