Skip to content

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

refactor(index): use directive shorthand notation

jamesgeorge007ffb8fd017241
diff --git a/pages/index.vue b/pages/index.vue
index db5df7fc1..c4595426d 100644
--- a/pages/index.vue
+++ b/pages/index.vue
@@ -248,7 +248,7 @@
<button
class="icon"
id="code"
- v-on:click="isHidden = !isHidden"
+ @click="isHidden = !isHidden"
:disabled="!isValidURL"
v-tooltip.bottom="{
content: isHidden ? 'Show Code' : 'Hide Code'