fix: remove 'verifying' status from filters and badges in user verification page

This commit is contained in:
seaznCode 2026-01-28 20:15:56 +01:00
parent 60a9d90cf8
commit 1090010169

View File

@ -14,7 +14,7 @@ import { PendingUser } from '../../utils/api'
type UserType = 'personal' | 'company'
type UserRole = 'user' | 'admin'
type VerificationReadyFilter = 'all' | 'ready' | 'not_ready'
type StatusFilter = 'all' | 'pending' | 'verifying' | 'active'
type StatusFilter = 'all' | 'pending' | 'active'
export default function AdminUserVerifyPage() {
const {
@ -95,7 +95,6 @@ export default function AdminUserVerifyPage() {
const statusBadge = (s: PendingUser['status']) => {
if (s === 'pending') return badge('Pending', 'bg-amber-100 text-amber-700')
if (s === 'verifying') return badge('Verifying', 'bg-blue-100 text-blue-700')
return badge('Active', 'bg-green-100 text-green-700')
}
@ -245,7 +244,6 @@ export default function AdminUserVerifyPage() {
>
<option value="all">All Statuses</option>
<option value="pending">Pending</option>
<option value="verifying">Verifying</option>
<option value="active">Active</option>
</select>
</div>