From 2c0b8b5f8eef52465dc3c35ee507af60b193b40d Mon Sep 17 00:00:00 2001 From: Liyas Thomas Date: Tue, 28 Jan 2020 20:02:07 +0530 Subject: [PATCH] :zap: Improving Lighthouse score --- layouts/default.vue | 6 ++++-- pages/graphql.vue | 2 -- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/layouts/default.vue b/layouts/default.vue index 15626a247..5a3cd398c 100644 --- a/layouts/default.vue +++ b/layouts/default.vue @@ -305,11 +305,13 @@ (fb.currentUser.email || '') " + aria-label="Account" > Profile image account_circle @@ -665,8 +667,8 @@ import intializePwa from "../assets/js/pwa"; import * as version from "../.postwoman/version.json"; import { hasChromeExtensionInstalled } from "../functions/strategies/ChromeStrategy"; -import firebase from 'firebase/app'; -import { fb } from '../functions/fb'; +import firebase from "firebase/app"; +import { fb } from "../functions/fb"; export default { components: { diff --git a/pages/graphql.vue b/pages/graphql.vue index 606796472..d4129796c 100644 --- a/pages/graphql.vue +++ b/pages/graphql.vue @@ -812,9 +812,7 @@ export default { } } this.gqlTypes = types; - this.$refs.queryEditor.setValidationSchema(schema); - this.$nuxt.$loading.finish(); const duration = Date.now() - startTime; this.$toast.info(this.$t("finished_in", { duration }), {