From 78d02a2392924d5d4a21206fb52f627251883af8 Mon Sep 17 00:00:00 2001
From: Rafi Zadanly <zadanlyr@gmail.com>
Date: Mon, 6 Mar 2023 11:59:03 +0700
Subject: fix

---
 src/core/components/layouts/AppLayout.jsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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

diff --git a/src/core/components/layouts/AppLayout.jsx b/src/core/components/layouts/AppLayout.jsx
index a325b1c1..d74d61e3 100644
--- a/src/core/components/layouts/AppLayout.jsx
+++ b/src/core/components/layouts/AppLayout.jsx
@@ -2,14 +2,14 @@ import AppBar from '../elements/Appbar/Appbar'
 import BasicFooter from '../elements/Footer/BasicFooter'
 import AnimationLayout from './AnimationLayout'
 
-const AppLayout = ({ children, title }) => {
+const AppLayout = ({ children, title, withFooter = true }) => {
   return (
     <>
       <AnimationLayout>
         <AppBar title={title} />
         {children}
       </AnimationLayout>
-      <BasicFooter />
+      {withFooter && <BasicFooter />}
     </>
   )
 }
-- 
cgit v1.2.3

