fix: remove unused session retrieval in PaymentPage component
Some checks failed
Build and Push Docker Images / Build and Push Docker Images (push) Failing after 1m52s

This commit is contained in:
i701 2025-04-20 07:58:36 +05:00
parent ba91d2c8d4
commit 3d12786332
Signed by: i701
GPG Key ID: 54A0DA1E26D8E587

View File

@ -13,8 +13,6 @@ export default async function PaymentPage({
}: { }: {
params: Promise<{ paymentId: string }>; params: Promise<{ paymentId: string }>;
}) { }) {
const session = await getServerSession(authOptions);
const paymentId = (await params).paymentId; const paymentId = (await params).paymentId;
const [error, payment] = await tryCatch(getPayment({ id: paymentId })); const [error, payment] = await tryCatch(getPayment({ id: paymentId }));
if (error) { if (error) {