diff --git a/src/pages/participant/RegistrationState.tsx b/src/pages/participant/RegistrationState.tsx index 85b6aff..3db6689 100644 --- a/src/pages/participant/RegistrationState.tsx +++ b/src/pages/participant/RegistrationState.tsx @@ -2,12 +2,16 @@ import {RegistrationState as _RegistrationState} from '../../db/db'; export function RegistrationState({state}: {state: _RegistrationState}) { let color; + let text: string = state; switch (state) { case 'complete': color = 'green'; break; case 'pending': + color = 'yellow'; + text = 'pending approval'; + break; case 'unpaid': color = 'yellow'; break; @@ -22,7 +26,7 @@ export function RegistrationState({state}: {state: _RegistrationState}) { className={`w-fit rounded-full bg-${color}-100 px-2.5 py-1 text-sm font-medium text-${color}-800 dark:bg-${color}-900 dark:text-${color}-300`} > - Registration {state} + Registration {text} ); }