From f01f28a7eac76c6da5bf857bfc80fd347586ce7f Mon Sep 17 00:00:00 2001
From: "HATEC\\SPVDEV001" <tri.susilo@altama.co.id>
Date: Wed, 16 Aug 2023 09:39:47 +0700
Subject: register google

---
 src/core/components/layouts/BasicLayout.jsx | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'src/core/components/layouts/BasicLayout.jsx')

diff --git a/src/core/components/layouts/BasicLayout.jsx b/src/core/components/layouts/BasicLayout.jsx
index e5c6908a..0fea1a3b 100644
--- a/src/core/components/layouts/BasicLayout.jsx
+++ b/src/core/components/layouts/BasicLayout.jsx
@@ -27,9 +27,9 @@ const BasicLayout = ({ children }) => {
   }
 
   useEffect(() => {
-    // if (!auth && session) {
-    //   setting()
-    // }
+    if (!auth && session) {
+      setting()
+    }
     console.log('ini auth', auth)
     console.log('ini session', session)
     const getIP = async () => {
-- 
cgit v1.2.3

