bug: moved createMemo down
This commit is contained in:
@@ -75,7 +75,6 @@ export default function Layout(props: ParentProps) {
|
|||||||
)
|
)
|
||||||
|
|
||||||
const pageReady = createMemo(() => ready())
|
const pageReady = createMemo(() => ready())
|
||||||
const layoutReady = createMemo(() => layout.ready())
|
|
||||||
|
|
||||||
let scrollContainerRef: HTMLDivElement | undefined
|
let scrollContainerRef: HTMLDivElement | undefined
|
||||||
const xlQuery = window.matchMedia("(min-width: 1280px)")
|
const xlQuery = window.matchMedia("(min-width: 1280px)")
|
||||||
@@ -88,6 +87,7 @@ export default function Layout(props: ParentProps) {
|
|||||||
const globalSDK = useGlobalSDK()
|
const globalSDK = useGlobalSDK()
|
||||||
const globalSync = useGlobalSync()
|
const globalSync = useGlobalSync()
|
||||||
const layout = useLayout()
|
const layout = useLayout()
|
||||||
|
const layoutReady = createMemo(() => layout.ready())
|
||||||
const platform = usePlatform()
|
const platform = usePlatform()
|
||||||
const server = useServer()
|
const server = useServer()
|
||||||
const notification = useNotification()
|
const notification = useNotification()
|
||||||
|
|||||||
Reference in New Issue
Block a user