@fy-/fws-vue 1.7.7 → 1.7.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,5 @@
1
1
  import type { Ref } from "vue";
2
2
  import { useHead } from "@unhead/vue";
3
- import { computed } from "vue";
4
3
  import { getURL, getLocale, getPrefix } from "@fy-/fws-js";
5
4
  import { useRoute } from "vue-router";
6
5
 
@@ -33,7 +32,7 @@ export const useSeo = (seo: Ref<LazyHead>, initial: boolean = false) => {
33
32
 
34
33
  useHead({
35
34
  title: () => seo.value.title || "",
36
- link: computed(() => {
35
+ link: () => {
37
36
  const links = [];
38
37
 
39
38
  ["prev", "next"].forEach((rel) => {
@@ -68,8 +67,8 @@ export const useSeo = (seo: Ref<LazyHead>, initial: boolean = false) => {
68
67
  });
69
68
 
70
69
  return links;
71
- }),
72
- meta: computed(() => {
70
+ },
71
+ meta: () => {
73
72
  const metas = [];
74
73
 
75
74
  metas.push(
@@ -139,6 +138,6 @@ export const useSeo = (seo: Ref<LazyHead>, initial: boolean = false) => {
139
138
  }
140
139
 
141
140
  return metas;
142
- }),
141
+ },
143
142
  });
144
143
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fy-/fws-vue",
3
- "version": "1.7.7",
3
+ "version": "1.7.8",
4
4
  "author": "Florian 'Fy' Gasquez <m@fy.to>",
5
5
  "license": "MIT",
6
6
  "repository": {