Fix station preferences mapping

This commit is contained in:
Conor McNamara
2023-03-16 10:30:04 +00:00
parent f3ea627bab
commit b4733d07e8
5 changed files with 48 additions and 74 deletions

View File

@ -2,7 +2,6 @@ import {getAuth, onAuthStateChanged} from "firebase/auth"
import app from '../api/firebase';
function isAuth(to, from, next) {
console.log("Checking auth")
const auth = getAuth(app)
onAuthStateChanged(auth, (user) => {
// user is logged in, continue to page