diff --git a/components/header/header.vue b/components/header/header.vue index 6f862d5..abc9ade 100644 --- a/components/header/header.vue +++ b/components/header/header.vue @@ -257,7 +257,7 @@ const pageContext = inject('pageContext'); const theme = ref(pageContext.env.theme); const user = pageContext.user; -const { primaryStash } = pageContext.assets; +const primaryStash = pageContext.assets?.primaryStash; const unseen = ref(pageContext.meta.unseenNotifications); const query = ref(pageContext.urlParsed.search.q || ''); const allowLogin = pageContext.env.allowLogin;