fix
This commit is contained in:
@@ -703,7 +703,7 @@ export default function UserDetailPage() {
|
||||
<div className="flex space-x-3">
|
||||
<button
|
||||
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"
|
||||
>
|
||||
{isUpdatingVerification ? (
|
||||
@@ -801,11 +801,6 @@ export default function UserDetailPage() {
|
||||
* A note is required to reject verification
|
||||
</p>
|
||||
)}
|
||||
{verificationDocuments.length === 0 && (
|
||||
<p className="mt-2 text-xs text-amber-600">
|
||||
* Cannot approve without uploaded documents
|
||||
</p>
|
||||
)}
|
||||
</div>
|
||||
)}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user