This commit is contained in:
pradeepkumar
2026-03-31 23:23:02 +05:30
parent 1a9d1f6a0f
commit 3f6afc05f8

View File

@@ -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>
)}