diff --git a/DysonNetwork.Pass/Client/src/views/pfp/index.vue b/DysonNetwork.Pass/Client/src/views/pfp/index.vue index 6441139..51d4583 100644 --- a/DysonNetwork.Pass/Client/src/views/pfp/index.vue +++ b/DysonNetwork.Pass/Client/src/views/pfp/index.vue @@ -180,7 +180,7 @@ const user = ref(null) async function fetchUser() { if (window.DyPrefetch?.Account != null) { console.log('[Fetch] Use the pre-rendered account data.') - user.value = window.DyPrefetch.Account + user.value = window.DyPrefetch.account return } diff --git a/DysonNetwork.Sphere/Client/src/views/posts.vue b/DysonNetwork.Sphere/Client/src/views/posts.vue index 05c29fd..0f81488 100644 --- a/DysonNetwork.Sphere/Client/src/views/posts.vue +++ b/DysonNetwork.Sphere/Client/src/views/posts.vue @@ -63,7 +63,7 @@ const notFound = ref(false) async function fetchPost() { if (window.DyPrefetch?.Post != null) { console.log('[Fetch] Use the pre-rendered post data.') - post.value = window.DyPrefetch.Post + post.value = window.DyPrefetch.post return }