diff --git a/app/routes/appeals.tsx b/app/routes/appeals.tsx index 386a63d..8d4bc09 100644 --- a/app/routes/appeals.tsx +++ b/app/routes/appeals.tsx @@ -45,10 +45,11 @@ export async function loader({ context }: { context: RequestContext }) { id: true, }, where: { + approved: null, user: { path: "id", equals: currentUser.id, - }, + } }, }), ),