mirror of
https://github.com/D4M13N-D3V/neroshitron.git
synced 2025-03-14 10:05:04 +00:00
Update NavigationBar.tsx
This commit is contained in:
parent
057c20cd21
commit
de0a5a8e73
@ -28,7 +28,7 @@ export default async function AuthButton() {
|
||||
const url = heads.get('x-url')
|
||||
if(url == null) throw new Error('No URL found')
|
||||
const urlObj = new URL(url);
|
||||
|
||||
const currentPage = urlObj.pathname;
|
||||
if(user){
|
||||
let email = user.email;
|
||||
if(email != null){
|
||||
|
Loading…
x
Reference in New Issue
Block a user