fix: remove unused session retrieval in PaymentPage component
This commit is contained in:
@@ -13,8 +13,6 @@ export default async function PaymentPage({
|
||||
}: {
|
||||
params: Promise<{ paymentId: string }>;
|
||||
}) {
|
||||
const session = await getServerSession(authOptions);
|
||||
|
||||
const paymentId = (await params).paymentId;
|
||||
const [error, payment] = await tryCatch(getPayment({ id: paymentId }));
|
||||
if (error) {
|
||||
|
||||
Reference in New Issue
Block a user