fix(front): create head without old options

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2023-12-14 11:00:45 +01:00
parent 89641c502e
commit 45f8757d72
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773

View file

@ -1,4 +1,4 @@
import { provide, createApp, h, computed, ref } from "vue";
import { provide, createApp, h, ref } from "vue";
import VueScrollTo from "vue-scrollto";
// import VueAnnouncer from "@vue-a11y/announcer";
// import VueSkipTo from "@vue-a11y/skip-to";
@ -59,11 +59,7 @@ apolloClient
instanceName.value = configData.config?.name;
});
const head = createHead({
titleTemplate: computed(() =>
instanceName.value ? `%s | ${instanceName.value}` : "%s"
).value,
});
const head = createHead();
app.use(head);
app.mount("#app");