This commit is contained in:
Rizky 2024-07-25 10:06:30 +07:00
parent 273aa3b1f0
commit 7a7b51fa66
2 changed files with 25 additions and 25 deletions

File diff suppressed because one or more lines are too long

View File

@ -145,7 +145,7 @@ export const Root = () => {
base.page.url = page.url; base.page.url = page.url;
const cache = base.page.cache[page.id]; const cache = base.page.cache[page.id];
if (!cache) { if (!cache || router.ctx.rootNode.children.size === 0) {
loadPage(page.id) loadPage(page.id)
.then(async ({ root }) => { .then(async ({ root }) => {
if (page) { if (page) {