Skip to content

Commit 98b75e4

Browse files
authored
[Bug] Fix staging tag shown in prod (#3705)
1 parent d41b8c4 commit 98b75e4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/components/dialog/header/SettingDialogHeader.vue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,9 @@
1515
<script setup lang="ts">
1616
import Tag from 'primevue/tag'
1717
18-
// @ts-expect-error: Global variable from vite build defined in global.d.ts
19-
const isStaging = !window.__USE_PROD_CONFIG__
18+
// Global variable from vite build defined in global.d.ts
19+
// eslint-disable-next-line no-undef
20+
const isStaging = !__USE_PROD_CONFIG__
2021
</script>
2122

2223
<style scoped>

0 commit comments

Comments
 (0)