Update NavigationBar.tsx

This commit is contained in:
Damien Ostler 2024-05-27 23:55:21 -04:00
parent 057c20cd21
commit de0a5a8e73

View File

@ -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){