From 4a469f8f6fab97d591929933b8cc73085955ab25 Mon Sep 17 00:00:00 2001
From: Terry Truong <terry06890@gmail.com>
Date: Sun, 27 Mar 2022 08:30:45 +1100
Subject: Move svg details to index.html

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

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

diff --git a/src/components/SearchModal.vue b/src/components/SearchModal.vue
index 7e32236..ee1cc2e 100644
--- a/src/components/SearchModal.vue
+++ b/src/components/SearchModal.vue
@@ -44,11 +44,8 @@ export default defineComponent({
 		bg-stone-50 rounded-md shadow shadow-black flex gap-1">
 		<input type="text" class="block border"
 			@keyup.enter="onSearchEnter" @keyup.esc="closeClicked" ref="searchInput"/>
-		<svg class="block w-6 h-6 ml-1 hover:cursor-pointer hover:bg-stone-200" @click="onSearchEnter"
-			xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none"
-			stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
-		  <circle cx="11" cy="11" r="8"/>
-		  <line x1="21" y1="21" x2="16.65" y2="16.65"/>
+		<svg class="block w-6 h-6 ml-1 hover:cursor-pointer hover:bg-stone-200" @click="onSearchEnter">
+			<use href="#svg-search"/>
 		</svg>
 	</div>
 </div>
-- 
cgit v1.2.3

