mirror of
https://github.com/i701/sarlink-portal.git
synced 2025-04-20 07:38:20 +00:00
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
Some checks failed
Build and Push Docker Images / Build and Push Docker Images (push) Failing after 1m52s
This commit is contained in:
parent
ba91d2c8d4
commit
3d12786332
@ -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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user