Skip to content

Commit 5f03d84

Browse files
committed
fix auth app creation
1 parent 7dfafd5 commit 5f03d84

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/components/SignUp.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@
1414
</template>
1515

1616
<script>
17-
import firebase from "firebase/app";
17+
import firebase from "firebase/compat/app";
1818
import 'firebase/compat/auth';
19+
1920
import {userSchema} from "../schema/User.js";
2021
import {required, email, minLength} from 'vuelidate/lib/validators'
2122
@@ -65,9 +66,8 @@ export default {
6566
// this.$router.replace('profile');
6667
this.$store.dispatch('fetchUserFavorites');
6768
this.$store.commit('displaySignUp', false);
68-
},
69-
error => {
70-
alert(error.message);
69+
}).catch(e => {
70+
console.error(e)
7171
});
7272
},
7373
close: function() {

0 commit comments

Comments
 (0)