From 58512e0be217f804826b418e932e5189407e4bba Mon Sep 17 00:00:00 2001 From: "open-swe-dev-andrinoid[bot]" Date: Thu, 22 Jan 2026 21:03:30 +0000 Subject: [PATCH] Apply patch [skip ci] --- routes/api/receipt/[id].ts | 58 +---------------------------- routes/landlord/dashboard/index.tsx | 14 ++++--- 2 files changed, 10 insertions(+), 62 deletions(-) diff --git a/routes/api/receipt/[id].ts b/routes/api/receipt/[id].ts index 3133ffd..d1d1951 100644 --- a/routes/api/receipt/[id].ts +++ b/routes/api/receipt/[id].ts @@ -2,7 +2,7 @@ import { define } from "../../../utils.ts"; import { getTransactionByStripeId } from "../../../services/paymentService.ts"; export const handler = define.handlers({ - async GET(ctx: any) { + async GET(ctx) { const stripeId = ctx.params.id; if (!stripeId) { return new Response("Not Found", { status: 404 }); @@ -51,59 +51,3 @@ export const handler = define.handlers({ }); }, }); - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/routes/landlord/dashboard/index.tsx b/routes/landlord/dashboard/index.tsx index ae03063..c5186cd 100644 --- a/routes/landlord/dashboard/index.tsx +++ b/routes/landlord/dashboard/index.tsx @@ -91,7 +91,7 @@ export const handler = define.handlers({ export default define.page( function LandlordDashboard({ data }: LandlordDashboardProps) { - const { stateData, dashboardData, error } = data; + const { stateData: _stateData, dashboardData, error } = data; if (error) { return ( @@ -452,10 +452,16 @@ export default define.page(

- -
@@ -536,5 +542,3 @@ export default define.page( ); }, ); - -