We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d41b8c4 commit 98b75e4Copy full SHA for 98b75e4
src/components/dialog/header/SettingDialogHeader.vue
@@ -15,8 +15,9 @@
15
<script setup lang="ts">
16
import Tag from 'primevue/tag'
17
18
-// @ts-expect-error: Global variable from vite build defined in global.d.ts
19
-const isStaging = !window.__USE_PROD_CONFIG__
+// Global variable from vite build defined in global.d.ts
+// eslint-disable-next-line no-undef
20
+const isStaging = !__USE_PROD_CONFIG__
21
</script>
22
23
<style scoped>
0 commit comments