diff --git a/src/components/Dashboard.js b/src/components/Dashboard.js index 96e120f..4d4d184 100644 --- a/src/components/Dashboard.js +++ b/src/components/Dashboard.js @@ -1,4 +1,4 @@ -import React, { useState } from "react" +import React, { useState, Fragment } from "react" import { Card, Button, Alert } from "react-bootstrap" import { useAuth } from "../contexts/AuthContext" import { Link, useHistory } from "react-router-dom" diff --git a/src/firebase.js b/src/firebase.js index aa2516c..50cbdd2 100644 --- a/src/firebase.js +++ b/src/firebase.js @@ -1,3 +1,4 @@ +// comment is added import firebase from "firebase/app" import "firebase/auth" @@ -11,5 +12,6 @@ const app = firebase.initializeApp({ appId: process.env.REACT_APP_FIREBASE_APP_ID }) + export const auth = app.auth() export default app