diff --git a/components/SearchBox.vue b/components/SearchBox.vue index 57b421b..45eb768 100644 --- a/components/SearchBox.vue +++ b/components/SearchBox.vue @@ -27,22 +27,8 @@ event: 'input' }, props: { - value: String, - focused: { - type: Boolean, - default: false - } + value: String }, - watch: { - focused() { - this.focusState = this.focused - }, - }, - mounted () { - if (this.focused) { - this.focusState = true - } - }, methods: { handleFocus () { this.focusState = true