Replies: 3 comments
|
Below is my Signup page . What am i doing wrong on this code . This is my first time using firebase . import React, { useRef } from 'react'; function SignUpScreen() { return ( Sign InSign In export default SignUpScreen |
|
This is my code below `import React, { useRef } from 'react'; function SignUpScreen() { return ( Sign InSign In export default SignUpScreen` |
|
Hi, this is the repo for Firebase Admin Node.js SDK. It looks like you are using the Firebase JS client SDK Also, please don't share any sensitive project credentials (APIKey, App ID etc.) on public posts. I have redacted that information from your original post. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Below is my setup in firebase.js for a register and signIn page, my app is rendering a WEBPACK error :
import { initializeApp } from 'firebase/app'
import firebase from './firebase';
import "firebase/firestore";
const firebaseConfig = {
apiKey: "REDACTED",
authDomain: "REDACTED.firebaseapp.com",
projectId: "REDACTED",
storageBucket: "REDACTED.appspot.com",
messagingSenderId: "REDACTED",
appId: "REDACTED"
};
const firebaseApp = firebase.initializeApp(firebaseConfig);
const db = firebaseApp.firestore();
const auth = firebase.auth();
export { auth, initializeApp };
export default db;
All reactions