From 5f6369626196ed08c85ca72919d92f57a12ebee8 Mon Sep 17 00:00:00 2001 From: d0zingcat Date: Sat, 17 Jan 2026 15:25:31 +0800 Subject: [PATCH] feat: fix ts error Signed-off-by: d0zingcat --- apps/web/src/views/AdminView.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/apps/web/src/views/AdminView.tsx b/apps/web/src/views/AdminView.tsx index c7b7ec2..b21b841 100644 --- a/apps/web/src/views/AdminView.tsx +++ b/apps/web/src/views/AdminView.tsx @@ -106,7 +106,6 @@ function GroupRequestsList() { const fetchRequests = useCallback(async () => { setLoading(true); try { - // @ts-expect-error - groups requests might not be in the generated client yet const res = await client.api.topics.groups.requests.$get(undefined, { init: { credentials: "include" }, }); @@ -137,7 +136,6 @@ function GroupRequestsList() { action: "approve" | "reject", ) => { try { - // @ts-expect-error await client.api.topics[":id"].groups[":bindingId"][action].$post( { param: { id: req.topicId, bindingId: req.id } }, { init: { credentials: "include" } },