mirror of
				https://github.com/D4M13N-D3V/neroshitron.git
				synced 2025-10-30 09:05:34 +00:00 
			
		
		
		
	Update NavigationBar.tsx
This commit is contained in:
		
							parent
							
								
									82728cbc97
								
							
						
					
					
						commit
						401e3d41dc
					
				| @ -25,7 +25,8 @@ export default async function AuthButton() { | |||||||
|   // ...
 |   // ...
 | ||||||
| 
 | 
 | ||||||
|   const heads = headers() |   const heads = headers() | ||||||
|   const url = heads.get('next-url') |   console.log(heads) | ||||||
|  |   const url = heads.get('next-url')  | ||||||
|   if(url == null) throw new Error('No URL found') |   if(url == null) throw new Error('No URL found') | ||||||
|   const urlObj = new URL(url); |   const urlObj = new URL(url); | ||||||
|   const currentPage = urlObj.pathname; |   const currentPage = urlObj.pathname; | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user