diff --git a/FrontEnd/front-end/src/App.js b/FrontEnd/front-end/src/App.js index 7f23dca..db9c5bf 100644 --- a/FrontEnd/front-end/src/App.js +++ b/FrontEnd/front-end/src/App.js @@ -18,7 +18,7 @@ function App() { const [selectedClass, setSelectedClass] = useState(null); const [selectedRace, setSelectedRace] = useState(null); const [selectedLevel, setSelectedLevel] = useState(null); - const [selectedSpells, setSelectedSpells] = useState(null); + const [ setSelectedSpells] = useState(null); const test = (isLoggedIn) => { if (isLoggedIn) { diff --git a/FrontEnd/front-end/src/Authentication/SignUp/SignUp.js b/FrontEnd/front-end/src/Authentication/SignUp/SignUp.js index 2066541..90a4baa 100644 --- a/FrontEnd/front-end/src/Authentication/SignUp/SignUp.js +++ b/FrontEnd/front-end/src/Authentication/SignUp/SignUp.js @@ -2,7 +2,7 @@ import React, { useState } from 'react'; import { NavLink } from 'react-router-dom'; import { createUserWithEmailAndPassword, sendEmailVerification, updateProfile } from 'firebase/auth'; import {auth, firestore} from '../../firebase/firebase'; -import { collection, doc, setDoc } from "firebase/firestore"; +import { doc, setDoc } from "firebase/firestore"; const Signup = (reference, data) => { diff --git a/FrontEnd/front-end/src/User/UserProfile.js b/FrontEnd/front-end/src/User/UserProfile.js index ec114b0..be59d7a 100644 --- a/FrontEnd/front-end/src/User/UserProfile.js +++ b/FrontEnd/front-end/src/User/UserProfile.js @@ -1,5 +1,5 @@ import React, { useState, useEffect } from 'react'; -import {auth, firestore, storage} from '../firebase/firebase'; +import {firestore, storage} from '../firebase/firebase'; import { ref, uploadBytesResumable, getDownloadURL } from 'firebase/storage'; import {getAuth, onAuthStateChanged, updateProfile} from 'firebase/auth'; import {useNavigate} from "react-router-dom";