We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e2a897 commit fd719e9Copy full SHA for fd719e9
2 files changed
client/src/components/admin/UserManagement.tsx
@@ -177,7 +177,7 @@ export const UserManagement = () => {
177
</Badge>
178
</TableCell>
179
<TableCell>
180
- {new Date(userData.created_at).toLocaleDateString()}
+ {userData.created_at ? new Date(userData.created_at).toLocaleDateString() : 'N/A'}
181
182
183
<Button
client/src/types/index.ts
@@ -8,6 +8,7 @@ export interface User {
8
oauth_id?: string;
9
profile_picture?: string | null;
10
is_project_member?: boolean;
11
+ created_at?: string;
12
}
13
14
export interface Project {
0 commit comments