Skip to content

Commit

Permalink
Removed unused vars
Browse files Browse the repository at this point in the history
  • Loading branch information
porfanid committed Apr 30, 2024
1 parent e3da6d8 commit 76bbf8c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion FrontEnd/front-end/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion FrontEnd/front-end/src/Authentication/SignUp/SignUp.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {

Expand Down
2 changes: 1 addition & 1 deletion FrontEnd/front-end/src/User/UserProfile.js
Original file line number Diff line number Diff line change
@@ -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";
Expand Down

0 comments on commit 76bbf8c

Please sign in to comment.