Skip to content

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

Revert last commit

Liyas Thomasb6eb5811920e
diff --git a/components/ui/url-field.vue b/components/ui/url-field.vue
index 6e48a0fcd..215777317 100644
--- a/components/ui/url-field.vue
+++ b/components/ui/url-field.vue
@@ -20,13 +20,6 @@ import { type } from "os"
export default {
props: {
value: { type: String },
- uri: { type: String },
- },
- watch: {
- uri(val) {
- this.$refs.editor.textContent = val
- this.updateEditor()
- },
},
mounted() {
this.$refs.editor.addEventListener("input", this.updateEditor)
diff --git a/pages/index.vue b/pages/index.vue
index bc7237bc6..62057c308 100644
--- a/pages/index.vue
+++ b/pages/index.vue
@@ -155,7 +155,7 @@
spellcheck="false"
@input="pathInputHandler"
/>
- <url-field v-model="uri" :uri="uri" v-else />
+ <url-field v-model="uri" v-else />
</li>
<li class="shrink">
<label class="hide-on-small-screen" for="send">&nbsp;</label>