mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-11 03:24:16 +00:00
remove header from layout
This commit is contained in:
parent
18b9fea6b8
commit
7068ac021b
@ -4,7 +4,6 @@ import * as antd from "antd"
|
|||||||
import progressBar from "nprogress"
|
import progressBar from "nprogress"
|
||||||
|
|
||||||
import Sidebar from "./sidebar"
|
import Sidebar from "./sidebar"
|
||||||
import Header from "./header"
|
|
||||||
import Drawer from "./drawer"
|
import Drawer from "./drawer"
|
||||||
import Sidedrawer from "./sidedrawer"
|
import Sidedrawer from "./sidedrawer"
|
||||||
import BottomBar from "./bottomBar"
|
import BottomBar from "./bottomBar"
|
||||||
@ -29,7 +28,6 @@ const LayoutRenders = {
|
|||||||
<Sidebar user={props.user} />
|
<Sidebar user={props.user} />
|
||||||
<Sidedrawer />
|
<Sidedrawer />
|
||||||
<antd.Layout className="content_layout">
|
<antd.Layout className="content_layout">
|
||||||
<Header />
|
|
||||||
<antd.Layout.Content className={classnames("layout_page", ...props.layoutPageModesClassnames ?? [])}>
|
<antd.Layout.Content className={classnames("layout_page", ...props.layoutPageModesClassnames ?? [])}>
|
||||||
<div className={classnames("fade-transverse-active", { "fade-transverse-leave": props.isOnTransition })}>
|
<div className={classnames("fade-transverse-active", { "fade-transverse-leave": props.isOnTransition })}>
|
||||||
{React.cloneElement(props.children, props)}
|
{React.cloneElement(props.children, props)}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user