From 45f8757d72d1a2c72d069ced6fcbe21571d334c5 Mon Sep 17 00:00:00 2001
From: Thomas Citharel <tcit@tcit.fr>
Date: Thu, 14 Dec 2023 11:00:45 +0100
Subject: [PATCH] fix(front): create head without old options

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
---
 src/main.ts | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/src/main.ts b/src/main.ts
index 04e94bbf0..c8a14fae6 100644
--- a/src/main.ts
+++ b/src/main.ts
@@ -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");