We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1c07783 commit 4537e2aCopy full SHA for 4537e2a
apps/web/src/components/Dashboard/Team.tsx
@@ -28,11 +28,11 @@ import Spinner from '@/components/Spinner'
28
interface TeamMember {
29
id: string
30
email: string
31
- addedBy: {
+ added_by: {
32
33
34
} | null
35
- addedAt: string
+ added_at: string
36
}
37
38
const emailRegex = new RegExp(
@@ -275,10 +275,10 @@ export const TeamContent = ({
275
key={user.id}
276
>
277
<TableCell>{user.email}</TableCell>
278
- <TableCell>{user.addedBy?.email}</TableCell>
+ <TableCell>{user.added_by?.email}</TableCell>
279
<TableCell>
280
- {user.addedAt
281
- ? new Date(user.addedAt).toLocaleString()
+ {user.added_at
+ ? new Date(user.added_at).toLocaleString()
282
: ''}
283
</TableCell>
284
<TableCell align="right">
0 commit comments