reuse layout (#2956)

This commit is contained in:
legao
2024-03-25 07:13:50 +00:00
committed by GitHub
parent 52804ca6d1
commit d5214e4644
2 changed files with 7 additions and 5 deletions

View File

@@ -11,7 +11,7 @@ const HeaderWrapper = ({
children,
}: HeaderWrapperProps) => {
const pathname = usePathname()
const isBordered = ['/apps', '/datasets'].includes(pathname)
const isBordered = ['/apps', '/datasets', '/datasets/create'].includes(pathname)
return (
<div className={classNames(