Skip to content

Commit

Permalink
Revert Firebase debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminJohnson2204 committed Jun 1, 2024
1 parent 84fff9b commit db3dc24
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions frontend/src/firebase/firebase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,9 @@ import env from "@/util/validateEnv";
* environment variable.
*/
export const initFirebase = () => {
throw new Error("firebase settings are " + env.NEXT_PUBLIC_FIREBASE_SETTINGS);
// if (!env.NEXT_PUBLIC_FIREBASE_SETTINGS) {
// throw new Error("Cannot get firebase settings");
// }
if (!env.NEXT_PUBLIC_FIREBASE_SETTINGS) {
throw new Error("Cannot get firebase settings");
}

const firebaseConfig = env.NEXT_PUBLIC_FIREBASE_SETTINGS;

Expand Down

0 comments on commit db3dc24

Please sign in to comment.