mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-21 02:22:40 +00:00
bug: moved createMemo down
This commit is contained in:
parent
2c5437791b
commit
704276753b
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue