mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-14 07:26:52 +00:00
cancel slottop
This commit is contained in:
@@ -58,7 +58,7 @@ export const useSimpleGlobal = () => useContext(ThemeGlobalSimple)
|
||||
* @returns
|
||||
*/
|
||||
const LayoutBase = props => {
|
||||
const { children, slotTop } = props
|
||||
const { children } = props
|
||||
const { onLoading, fullWidth } = useGlobal()
|
||||
// const onLoading = true
|
||||
const searchModal = useRef(null)
|
||||
@@ -96,7 +96,6 @@ const LayoutBase = props => {
|
||||
</div>
|
||||
) : (
|
||||
<>
|
||||
{slotTop}
|
||||
{children}
|
||||
</>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user