diff options
| author | Rafi Zadanly <zadanlyr@gmail.com> | 2023-03-06 11:59:03 +0700 |
|---|---|---|
| committer | Rafi Zadanly <zadanlyr@gmail.com> | 2023-03-06 11:59:03 +0700 |
| commit | 78d02a2392924d5d4a21206fb52f627251883af8 (patch) | |
| tree | b1cda7f12961508065b5ddedcfa757ea6ec0ff4e /src/core/components/layouts | |
| parent | 66f1fb98cf450c98fca14fd76809ff99c52533e6 (diff) | |
fix
Diffstat (limited to 'src/core/components/layouts')
| -rw-r--r-- | src/core/components/layouts/AppLayout.jsx | 4 |
1 files changed, 2 insertions, 2 deletions
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 />} </> ) } |
