Skip to content

Commit 6356fb1

Browse files
committed
type fixes for plain object
1 parent 5f2fd7b commit 6356fb1

File tree

2 files changed

+172
-138
lines changed

2 files changed

+172
-138
lines changed

apps/webapp/app/routes/admin._index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,14 +119,14 @@ export default function AdminDashboardRoute() {
119119
<Paragraph>No users found for search</Paragraph>
120120
</TableBlankRow>
121121
) : (
122-
users.map((user) => {
122+
users.map((user: (typeof users)[0]) => {
123123
return (
124124
<TableRow key={user.id}>
125125
<TableCell>
126126
<CopyableText value={user.email} />
127127
</TableCell>
128128
<TableCell>
129-
{user.orgMemberships.map((org) => (
129+
{user.orgMemberships.map((org: (typeof user.orgMemberships)[0]) => (
130130
<LinkButton
131131
key={org.organization.slug}
132132
variant="minimal/small"

0 commit comments

Comments
 (0)