Final touches for V1
This commit is contained in:
Generated
+2
-1
@@ -22,7 +22,8 @@
|
||||
"react": "^18.2.0",
|
||||
"react-beforeunload": "^2.6.0",
|
||||
"react-dom": "^18.2.0",
|
||||
"react-firebase-hooks": "^5.1.1"
|
||||
"react-firebase-hooks": "^5.1.1",
|
||||
"react-hook-form": "^7.50.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@capacitor/assets": "^3.0.5",
|
||||
|
||||
@@ -20,7 +20,7 @@ function Home() {
|
||||
|
||||
// Authentication
|
||||
useEffect(() => {
|
||||
onAuthStateChanged(auth, (user) => {
|
||||
onAuthStateChanged(auth, async (user) => {
|
||||
if (user) {
|
||||
setAuth(true);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user