mirror of
				https://github.com/i701/sarlink-portal.git
				synced 2025-11-04 00:16:59 +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:
		@@ -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