From 58aba42dbd153c1d51ddd845f88648cd78d56ded Mon Sep 17 00:00:00 2001
From: Terry Truong <terry06890@gmail.com>
Date: Fri, 25 Mar 2022 19:56:22 +1100
Subject: Fix typescript errors

---
 src/components/SearchModal.vue | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'src/components/SearchModal.vue')

diff --git a/src/components/SearchModal.vue b/src/components/SearchModal.vue
index 6675885..91e6748 100644
--- a/src/components/SearchModal.vue
+++ b/src/components/SearchModal.vue
@@ -14,11 +14,11 @@ export default defineComponent({
 			}
 		},
 		onSearchEnter(){
-			this.$emit('search-node', this.$refs.searchInput.value);
+			this.$emit('search-node', (this.$refs.searchInput as HTMLInputElement).value);
 		},
 	},
 	mounted(){
-		this.$refs.searchInput.focus();
+		(this.$refs.searchInput as HTMLInputElement).focus();
 	},
 	emits: ['search-node', 'search-close']
 });
-- 
cgit v1.2.3

