From 92c2a229d9c9b510d71b928978872a8b107e9d5a Mon Sep 17 00:00:00 2001
From: Rafi Zadanly <zadanlyr@gmail.com>
Date: Tue, 11 Apr 2023 09:47:25 +0700
Subject: Documentation and refactor code

---
 src/core/components/elements/Navbar/Search.jsx | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)

(limited to 'src/core/components/elements/Navbar/Search.jsx')

diff --git a/src/core/components/elements/Navbar/Search.jsx b/src/core/components/elements/Navbar/Search.jsx
index d0627b24..3046782b 100644
--- a/src/core/components/elements/Navbar/Search.jsx
+++ b/src/core/components/elements/Navbar/Search.jsx
@@ -45,10 +45,7 @@ const Search = () => {
 
   return (
     <>
-      <form
-        onSubmit={handleSubmit}
-        className='flex-1 flex relative'
-      >
+      <form onSubmit={handleSubmit} className='flex-1 flex relative'>
         <input
           type='text'
           ref={queryRef}
@@ -59,10 +56,7 @@ const Search = () => {
           onBlur={onInputBlur}
           onFocus={loadSuggestion}
         />
-        <button
-          type='submit'
-          className='rounded-r border border-l-0 border-gray_r-6 px-2'
-        >
+        <button type='submit' className='rounded-r border border-l-0 border-gray_r-6 px-2'>
           <MagnifyingGlassIcon className='w-6' />
         </button>
 
-- 
cgit v1.2.3

