Skip to content

Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia

:zap: Improving Lighthouse score

Liyas Thomas2c0b8b5f8eef
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 ||
'<label><i>Email not found</i></label>')
"
+ aria-label="Account"
>
<img
v-if="fb.currentUser.photoURL"
:src="fb.currentUser.photoURL"
class="material-icons"
+ alt="Profile image"
/>
<i v-else class="material-icons">account_circle</i>
</button>
@@ -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 }), {