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/lib/auth/components/RegisterDesktop.jsx | 20 ++++++++++++++++----
 1 file changed, 16 insertions(+), 4 deletions(-)

(limited to 'src/lib/auth/components/RegisterDesktop.jsx')

diff --git a/src/lib/auth/components/RegisterDesktop.jsx b/src/lib/auth/components/RegisterDesktop.jsx
index ac6ac960..482a9ce3 100644
--- a/src/lib/auth/components/RegisterDesktop.jsx
+++ b/src/lib/auth/components/RegisterDesktop.jsx
@@ -89,9 +89,19 @@ const RegisterDesktop = () => {
                   placeholder='••••••••••••'
                 />
               </div>
-              <div class="flex items-center mt-4 ">
-                <input type="checkbox" id='sdk' className='form-input flex items-start w-fit mr-2' required />
-                <label onClick={() => setTnd(true)}  className='inline cursor-pointer text-danger-500'>Syarat dan Ketentuan</label>
+              <div class='flex items-center mt-4 '>
+                <input
+                  type='checkbox'
+                  id='sdk'
+                  className='form-input flex items-start w-fit mr-2'
+                  required
+                />
+                <label
+                  onClick={() => setTnd(true)}
+                  className='inline cursor-pointer text-danger-500'
+                >
+                  Syarat dan Ketentuan
+                </label>
               </div>
               <button
                 type='submit'
@@ -103,7 +113,9 @@ const RegisterDesktop = () => {
             </form>
 
             <div>
-              <BottomPopup active={tnd} close={() => setTnd(false)}><PageContent path='/register#tnd'></PageContent></BottomPopup>
+              <BottomPopup active={tnd} close={() => setTnd(false)}>
+                <PageContent path='/register#tnd'></PageContent>
+              </BottomPopup>
             </div>
 
             <div className='text-gray_r-11 mt-10'>
-- 
cgit v1.2.3

