From 62bebc1d33fd090d7666e18e7a0326ef7ef36897 Mon Sep 17 00:00:00 2001
From: Rafi Zadanly <zadanlyr@gmail.com>
Date: Mon, 10 Apr 2023 16:49:16 +0700
Subject: fix

---
 src/pages/_app.jsx | 11 ++---------
 1 file changed, 2 insertions(+), 9 deletions(-)

(limited to 'src/pages/_app.jsx')

diff --git a/src/pages/_app.jsx b/src/pages/_app.jsx
index 6906cb92..3c93d27f 100644
--- a/src/pages/_app.jsx
+++ b/src/pages/_app.jsx
@@ -6,8 +6,7 @@ import { Toaster } from 'react-hot-toast'
 import { QueryClient, QueryClientProvider } from 'react-query'
 import useDevice from '@/core/hooks/useDevice'
 import { useEffect, useState } from 'react'
-import Image from 'next/image'
-import IndoteknikLogo from '@/images/LOGO-INDOTEKNIK-GEAR.png'
+import LogoSpinner from '@/core/components/elements/Spinner/LogoSpinner'
 
 const queryClient = new QueryClient()
 
@@ -46,13 +45,7 @@ function MyApp({ Component, pageProps }) {
     <>
       {animateLoader && (
         <div className='w-screen h-screen z-[500] flex justify-center items-center backdrop-blur'>
-          <Image
-            src={IndoteknikLogo}
-            alt='Indoteknik Logo'
-            width={64}
-            height={64}
-            className='page-loader'
-          />
+          <LogoSpinner />
         </div>
       )}
       <Toaster
-- 
cgit v1.2.3

