We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2ec192 commit b9e9c6dCopy full SHA for b9e9c6d
client/src/components/StatsGenerator.jsx
@@ -99,6 +99,7 @@ export default function StatsGenerator({ setShowStats }) {
99
progress: undefined,
100
theme: "dark",
101
});
102
+ setShowStats(false)
103
}
104
105
function wrongUsername() {
@@ -131,7 +132,7 @@ export default function StatsGenerator({ setShowStats }) {
131
132
await setDoc(docRef, transformedUserData);
133
// console.log("User data added to Firestore successfully!");
134
dataAdded()
- setShowStats(false)
135
+
136
} else {
137
console.log("User data already exists in Firestore.");
138
dataThere()
0 commit comments