diff --git a/frontend/routes/account/invites.tsx b/frontend/routes/account/invites.tsx index a64d71d2..4c2860cd 100644 --- a/frontend/routes/account/invites.tsx +++ b/frontend/routes/account/invites.tsx @@ -1,7 +1,7 @@ // Copyright 2024 the JSR authors. All rights reserved. MIT license. import { Handlers, PageProps } from "$fresh/server.ts"; import { State } from "../../util.ts"; -import { path } from "../../utils/api.ts"; +import { APIResponse, path } from "../../utils/api.ts"; import { FullUser, ScopeInvite } from "../../utils/api_types.ts"; import { Table, TableData, TableRow } from "../../components/Table.tsx"; import { AccountLayout } from "../account/(_components)/AccountLayout.tsx"; @@ -69,9 +69,9 @@ function InviteRow({ invite }: { invite: ScopeInvite }) { - {invite.targetUser.name} + {invite.requestingUser.name} @@ -81,6 +81,7 @@ function InviteRow({ invite }: { invite: ScopeInvite }) { action={`/@${invite.scope}`} method="POST" > +