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 7dfafd5 commit 5f03d84Copy full SHA for 5f03d84
src/components/SignUp.vue
@@ -14,8 +14,9 @@
14
</template>
15
16
<script>
17
-import firebase from "firebase/app";
+import firebase from "firebase/compat/app";
18
import 'firebase/compat/auth';
19
+
20
import {userSchema} from "../schema/User.js";
21
import {required, email, minLength} from 'vuelidate/lib/validators'
22
@@ -65,9 +66,8 @@ export default {
65
66
// this.$router.replace('profile');
67
this.$store.dispatch('fetchUserFavorites');
68
this.$store.commit('displaySignUp', false);
- },
69
- error => {
70
- alert(error.message);
+ }).catch(e => {
+ console.error(e)
71
});
72
},
73
close: function() {
0 commit comments