chore: move analytics to platform (#2960)

This commit is contained in:
Akash K
2023-04-04 02:15:20 +05:30
committed by GitHub
parent defece95fc
commit 37a3b72025
19 changed files with 140 additions and 198 deletions

View File

@@ -9,7 +9,7 @@
<script lang="ts">
import { defineComponent } from "vue"
import { useI18n } from "@composables/i18n"
import { initializeFirebase } from "~/helpers/fb"
import { initializeApp } from "~/helpers/app"
import { platform } from "~/platform"
export default defineComponent({
@@ -25,7 +25,7 @@ export default defineComponent({
}
},
beforeMount() {
initializeFirebase()
initializeApp()
},
async mounted() {
this.signingInWithEmail = true