Skip to content

Commit

Permalink
Merge pull request #198 from zkLinkProtocol/feat/debug_mobile_loading
Browse files Browse the repository at this point in the history
hide h5 debugger
  • Loading branch information
zkLeonardo authored Apr 26, 2024
2 parents be9d35d + 05bd0f6 commit 9a2eac4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions layouts/default.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
</template>

<script lang="ts" setup>
import { onBeforeMount } from "vue";
onBeforeMount(() => {
if (window.innerWidth < 500) {
window.eruda.init();
}
});
// import { onBeforeMount } from "vue";
// onBeforeMount(() => {
// if (window.innerWidth < 500) {
// window.eruda.init();
// }
// });
</script>

<style lang="scss" scoped>
Expand Down
6 changes: 3 additions & 3 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ export default defineNuxtConfig({
src: "https://cdn.rudderlabs.com/v1.1/rudder-analytics.min.js",
defer: true,
},
{
src: '//cdn.jsdelivr.net/npm/eruda'
}
// {
// src: '//cdn.jsdelivr.net/npm/eruda'
// }
],
},
},
Expand Down

0 comments on commit 9a2eac4

Please sign in to comment.