lgtm code review suggestions

This commit is contained in:
Liyas Thomas
2020-11-23 12:32:13 +05:30
parent b8d68ee359
commit 77862cdf9b
2 changed files with 1 additions and 2 deletions

View File

@@ -43,7 +43,6 @@
</template> </template>
<script> <script>
import { fb } from "~/helpers/fb"
import closeIcon from "~/static/icons/close-24px.svg?inline" import closeIcon from "~/static/icons/close-24px.svg?inline"
export default { export default {

View File

@@ -40,7 +40,7 @@ export default {
}, },
async signInWithGoogle() { async signInWithGoogle() {
try { try {
const { additionUserInfo } = await fb.signInUserWithGoogle() const { additionalUserInfo } = await fb.signInUserWithGoogle()
if (additionalUserInfo.isNewUser) { if (additionalUserInfo.isNewUser) {
this.$toast.info(`${this.$t("turn_on")} ${this.$t("sync")}`, { this.$toast.info(`${this.$t("turn_on")} ${this.$t("sync")}`, {