From 1e968638ab8c8253c5e6d2484f45366050796f78 Mon Sep 17 00:00:00 2001 From: "Rayyan (Rayy)" Date: Tue, 12 Sep 2023 09:14:26 +0000 Subject: [PATCH] Import Firebase Auth and Repair Col --- src/App.js | 1 + src/pages/Signup.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/App.js b/src/App.js index 70e84c2..d5e93cd 100644 --- a/src/App.js +++ b/src/App.js @@ -2,6 +2,7 @@ import { FirebaseConfig } from "./config/Config" import { initializeApp } from "firebase/app" import { Routes, Route } from "react-router-dom" import { useState } from "react" +import { getAuth, createUserWithEmailAndPassword } from "firebase/auth"; import { Header } from "./components/Header" import './App.css' diff --git a/src/pages/Signup.js b/src/pages/Signup.js index 9d29fa7..1cdb24a 100644 --- a/src/pages/Signup.js +++ b/src/pages/Signup.js @@ -9,7 +9,7 @@ export function Signup ( props ) { - +
Username