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( ); }, ); - -