chore(account): refine verify roleMeta typing
This commit is contained in:
@@ -67,10 +67,10 @@ export default function VerifyPage() {
|
|||||||
timersRef.current.set(role, timer)
|
timersRef.current.set(role, timer)
|
||||||
}
|
}
|
||||||
|
|
||||||
const roleMeta: { role: UserRole; label: string }[] = [
|
const roleMeta = [
|
||||||
{ role: "player", label: "打手认证" },
|
{ role: "player", label: "打手认证" },
|
||||||
{ role: "owner", label: "店主认证" },
|
{ role: "owner", label: "店主认证" },
|
||||||
]
|
] as const
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="container mx-auto max-w-2xl px-4 py-8 space-y-6">
|
<div className="container mx-auto max-w-2xl px-4 py-8 space-y-6">
|
||||||
|
|||||||
Reference in New Issue
Block a user