mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-03-30 13:54:01 +00:00
bug: moved createMemo down
This commit is contained in:
parent
2c5437791b
commit
704276753b
@ -75,7 +75,6 @@ export default function Layout(props: ParentProps) {
|
||||
)
|
||||
|
||||
const pageReady = createMemo(() => ready())
|
||||
const layoutReady = createMemo(() => layout.ready())
|
||||
|
||||
let scrollContainerRef: HTMLDivElement | undefined
|
||||
const xlQuery = window.matchMedia("(min-width: 1280px)")
|
||||
@ -88,6 +87,7 @@ export default function Layout(props: ParentProps) {
|
||||
const globalSDK = useGlobalSDK()
|
||||
const globalSync = useGlobalSync()
|
||||
const layout = useLayout()
|
||||
const layoutReady = createMemo(() => layout.ready())
|
||||
const platform = usePlatform()
|
||||
const server = useServer()
|
||||
const notification = useNotification()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user