(iso: string)
| 79 | } |
| 80 | |
| 81 | function formatDate(iso: string) { |
| 82 | return new Intl.DateTimeFormat('en-US', { |
| 83 | month: 'short', |
| 84 | day: 'numeric', |
| 85 | year: 'numeric', |
| 86 | hour: '2-digit', |
| 87 | minute: '2-digit', |
| 88 | }).format(new Date(iso)); |
| 89 | } |
| 90 | |
| 91 | export function SecretsManager() { |
| 92 | const roles = useAuthStore((state) => state.roles); |